In article <[EMAIL PROTECTED]>,
Gabriele Farina  <[EMAIL PROTECTED]> wrote:
>
>I'm tring to implement a Singleton object that should be specific for 
>every thread who create it, not global.
>I tried a solution that seems to work, but I have a very poor knowledge 
>of concurrent programming, so I'd like someone to help me find some 
>problems in my implementation.

Try using threading.local(), but you'll need 2.4 or later.
-- 
Aahz ([EMAIL PROTECTED])           <*>         http://www.pythoncraft.com/

"I saw `cout' being shifted "Hello world" times to the left and stopped
right there."  --Steve Gonedes
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to