critical section
Aahz
aahz at pythoncraft.com
Mon Mar 3 02:29:55 EST 2003
In article <cpct3b.f2t.ln at jbmail.com>,
John Burton <john.burton at jbmail.com> wrote:
>
>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,..
There's no direct mechanism across processes, but you can probably use
the facilities of Twisted to build what you need (assuming there isn't
already something in there). http://www.twistedmatrix.com/
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
Register for PyCon now! http://www.python.org/pycon/reg.html
More information about the Python-list
mailing list