critical section
Tim Evans
t.evans at paradise.net.nz
Mon Mar 3 04:44:56 EST 2003
"John Burton" <john.burton at jbmail.com> writes:
> Are there any python facilities for synchronising access to a resource from
> two seperate processes running python programs? Semaphores etc? Or do I have
> to drop down to calling OS facilities. I didn't see anything but sometimes
> it's hard to know what to look for,..
I'm assuming that you're using win32...
Look at the win32event.CreateMutex function, part of the win32all
extensions.
http://aspn.activestate.com/ASPN/Python/Reference/Products/ActivePython/PythonWin32Extensions/win32event__CreateMutex_meth.html
--
Tim Evans
More information about the Python-list
mailing list