[Python-Dev] Adding library modules to the core (original) (raw)

Gordon McMillan gmcm@hypernet.com
Tue, 8 Aug 2000 13:51:51 -0400


Eric Raymond wrote:

Vladimir Marangozov <Vladimir.Marangozov@inrialpes.fr>:

> There's a Semaphore class in Lib/threading.py. Are there any > problems with it? I haven't used it, but threading.py has > thread mutexes and semaphores on top of them, so as long as you > don't need IPC, they should be fine. Or am I missing something?

If I'm not mistaken, that's semaphores across a thread bundle within a single process. It's semaphores visible across processes that I don't think we currently have a facility for.

There's the interprocess semaphore / mutex stuff in win32event... oh, never mind...