class mutex
Olivier Dagenais
olivierS.dagenaisP at canadaA.comM
Sun Oct 22 18:43:59 EDT 2000
MSDN says this about an article relating to CreateMutex: "You can use a
mutex object to protect a shared resource from simultaneous access by
multiple threads or processes." Does Unix/Linux also have something like
this (at the process level)? What about Mac and (maybe) other platforms?
It would be nice if they were wrapped in one convenient Python
module/object.
It sounds like Windows uses a tempfile to accomplish this and I would guess
Unix/Linux - a file-oriented OS - would do the same thing. However, these
are just guesses, we'd need to confirm this...
--
----------------------------------------------------------------------
Olivier A. Dagenais - Software Architect and Developer
"Someone called 'Type your name here' is impersonating me on the
internet and is posting exactly the same things I am posting!"
"Darrell" <news at dorb.com> wrote in message
news:MUII5.70068$JS3.10348560 at typhoon.nyroc.rr.com...
> If your on Windows then try "win32event.CreateMutex"
>
> --Darrell
>
> "Prof. Peter Stoehr" <peter.stoehr at weihenstephan.org> wrote in message
> > Based on that, I have two questions:
> > 1) Does python provide a real mutex object.
> > 2) What is the use of the class mutex
> >
>
>
>
More information about the Python-list
mailing list