Semaphores?

Erno Kuusela erno-news at erno.iki.fi
Tue Aug 28 08:39:11 EDT 2001


In article <7xwv3og71o.fsf at ruckus.brouhaha.com>, Paul Rubin
<phr-n2001 at nightsong.com> writes:

| Anyone got a favorite way to implement shared memory semaphores in
| Python?  The obvious way is with an atomic test-and-set operation in
| the mmap module, but none seems to be listed in the docs.  Is there a
| preferred way to do it?  If not, should I submit a PEP to add
| something to mmap?

<URL: http://mambo.peabody.jhu.edu/omr/omi/source/shm_source/shm.html>?

  -- erno



More information about the Python-list mailing list