yield, curry, mix-in, new.function, global, closure, .... what will work?

ecir.hana at gmail.com ecir.hana at gmail.com
Sun Apr 15 20:42:25 EDT 2007


On Apr 15, 8:07 pm, Paul Rubin <http://phr...@NOSPAM.invalid> wrote:
> That is total madness.  Just use a normal object or dictionary with a lock.

Please, can you elaborate further, I'm not sure if I understood.
Should I lock global variables i, j during the execution of run()? In
that case I have to apologize, I showed rather simplified version of
the actual problem I have - in fact changer() and run() will be a bit
more complex thus executing a bit longer and perhaps causing a dead-
lock.




More information about the Python-list mailing list