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

Vladimir Marangozov Vladimir.Marangozov@inrialpes.fr
Tue, 8 Aug 2000 17:58:27 +0200 (CEST)


Eric S. Raymond wrote:

At the moment, core Python has nothing (with the weak and nonportable exception of open(..., OEXCL)) that can do semaphores properly. Thus shm would address a real gap in the language.

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?

-- Vladimir MARANGOZOV | Vladimir.Marangozov@inrialpes.fr http://sirac.inrialpes.fr/~marangoz | tel:(+33-4)76615277 fax:76615252