quetz-mod_python-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Diederich" <jack_dieder...@email.com>
Subject Re: Shared memory
Date Tue, 24 Jun 2003 20:31:10 GMT
From: "Gregory (Grisha) Trubetskoy" <grisha@apache.org>
> I see this question asked a lot on the mod_python list, so I spent some
> time looking at this -
> 
> Unless I'm missing something, Python's mmap module makes it very easy.
> Given that mmap is standard in Python, does anyone have any opinion on it
> vs APR shared memory
> (http://apr.apache.org/docs/apr/group__APR__SHM.html)? Would there be any
> benefit in building a mod_python interface to APR SHM?

They both seem fairly portable (at least windows & linux).
Any idea how to implement locking for writes on either?
linux could use fnctl for mmap, but that isn't portable.
The documentation for the python mutex module is very sparse.

-jack
-- 
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
http://corp.mail.com/careers



Mime
View raw message