--- On Tue, 11/4/08, Christoph Zwerschke [EMAIL PROTECTED] wrote:
From: Christoph Zwerschke [EMAIL PROTECTED]
Subject: Re: [Webware-discuss] MiddleKit Threading Error?
To: Discussion of Webware for Python including feedback and proposals.
webware-discuss@lists.sourceforge.net
Date: Tuesday, November 4, 2008, 12:13 PM
Roger Haase schrieb:
I had to revise your new MiddleObject.py to put the
_mk_cacheLock =
threading.RLock() statement at the module level
rather than in the
MiddleObject __init__ method. A new MiddleObject
instance is being
created with each request so putting the lock inside
the object
instance does not force single-threading through the
readStoreData method.
Right. I've put the lock on the class level now in
r7581, that should
work as well.
The MiddleKit test suite does not run for me either.
I will look over the 3 other 3 MiddleKit changes in
the queue and
update them for 1.0Rc1. It will probably take me
about 2 weeks to
get around to the task.
Thanks. Anybody else who wants to brush up MiddleKit a bit
before 1.0?
-- Christoph
I have downloaded the latest version of MiddleObject.py and verified that
putting the lock on the class level works for me.
Per your previous messages, it looks like you have already processed the 3
other MiddleKit changes in the queue.
Thanks for all your help!
Roger Haase
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss