Global mutex/lock

Richard Gruet rgruet at ina.fr
Mon Jan 24 15:33:39 EST 2000


Hi Python gurus,

Is there a portable global mutex implementation somewhere ?
AFAIK, the locks in the threading/thread modules work only between
threads of the same module.
OTOH, there are file locks for Windows and Unix (respectively in modules
msvcrt and fcntl), that can serve as locks.

Am I right or am I missing something ?

cheers,
Richard




More information about the Python-list mailing list