[Python-ideas] Adding shm_open to mmap?

shibturn shibturn at gmail.com
Sun Feb 19 01:50:07 CET 2012

On 18/02/2012 11:56pm, Greg Ewing wrote:
> shibturn wrote:
>> If the receiving process is expecting an fd then that certainly works.
>> But making it work transparently with pickle is difficult.
> Is making it work with pickle a requirement? The point of using
> shared memory is to avoid the need for serialising and deserialising.

The point is to avoiding having to pickle/unpickle the *data*.  Being 
able to pickle/unpickle a *reference* to the data would be rather 
convenient.  Then, for instance, you can put references to blocks of raw 
data on a queue.


More information about the Python-ideas mailing list