class mutex
Prof. Peter Stoehr
peter.stoehr at weihenstephan.org
Sat Oct 21 15:00:08 EDT 2000
Hi out there,
there is a class mutex shipped with python. I've tried to use it to
syncronise two processes created with os.fork() and failed :-(
Looking at the source code of mutex.py I found out, that it is
implemented in pure python. Thus, it does not implement a real
mutex-object as a python code can be interrupted after each step of the
byte-code.
Based on that, I have two questions:
1) Does python provide a real mutex object.
2) What is the use of the class mutex
Greeting
Peter
--
---------------------------------------------------------------------------
Prof. Peter Stoehr --- Teisenbergweg 6 --- 85435 Erding ---
08122/47232
http://www.weihenstephan.org/home/ak/support/team/jpg/peter.jpg
---------------------------------------------------------------------------
I'm the terror that flaps through the night
More information about the Python-list
mailing list