On Jun 4, 10:11 pm, Josiah Carlson <[EMAIL PROTECTED]> wrote: > lock = threading.Lock() > > with lock: > #synchronized block! > pass
True, except that the lock has to be shared among the threads. This explicit initiation of an reentrant lock is avoided in a Java synchronized block. -- http://mail.python.org/mailman/listinfo/python-list