Is mmap usable for IPC?

Paul Rubin phr-n2002b at NOSPAMnightsong.com
Thu Sep 26 23:40:23 CEST 2002


janeaustine50 at hotmail.com (Jane Austine) writes:
> Is mmap module usable for inter-process communication?
> 
> Does it provide lock, or semaphore? Is it safe to write
> from a process and read from multiple other processes
> simultaneously?
> 
> Any information appreciated.

Mmap doesn't provide lock.  Use shm instead.

http://gigue.peabody.jhu.edu/~mdboom/omi/source/shm_source/shm.html




More information about the Python-list mailing list