Locking blockl to a people on a similar group / naming locks

reyjexter reyjexter at gmail.com
Wed Jan 21 10:04:53 CET 2009


Hello!

Is there a way to lock a certain block to a people on similar group?
In java this is done by like this:

synchronize (myGroup) {
}

but how do I do this in python? how can I name the lock that will be
used by the thread?



-rey




More information about the Python-list mailing list