[Python-ideas] Adding shm_open to mmap?

shibturn shibturn at gmail.com
Wed Feb 15 14:25:14 CET 2012


On 15/02/2012 12:34pm, Antoine Pitrou wrote:
> The original discussion was about shared memory with multiprocessing.
> In that context, automatic collection of shared memory areas shouldn't
> be a problem.

One problem with automatic collection is if you want to put a reference 
to an mmap on a queue.  The mmap is likely to be disposed of before the 
target process can upickle it.

sbt




More information about the Python-ideas mailing list