Gregory (Grisha) Trubetskoy
grisha at modpython.org
Wed Jun 25 00:40:41 EST 2003
On Tue, 24 Jun 2003 mod_python at mikebell.org wrote: > On Wed, Jun 25, 2003 at 12:16:29AM -0400, Gregory (Grisha) Trubetskoy wrote: > > http://www.python.org/doc/current/lib/module-mmap.html > > The only problem with the mmap module is that it just gives you a > string-like object. How do you put something like a mutex in there so > you can access the shared memory area safely? > To quote Guido - "Good question!" (here is the link http://mail.python.org/pipermail/python-dev/2001-August/016772.html) :-) OK, on a serious note - I believe the shm module provides locking. I'm also going to look into the APR for possibly including some locking interface in the next version of mp. Grisha
|