Matias Surdi <[EMAIL PROTECTED]> wrote:

>Suppose I've a process P1, which generates itself a lot of data , for 
>example 2Mb.
>Then, I've a process P2 which must access P1 shared memory and, 
>probably, modify this data.
>To accomplish this, I've been digging around python's mmap module, but I 
>can't figure how to use it without files.

So, let it use a temporary file.  What's the harm?  An anonymous mmap
region is still mapped to the swap file.  Might as well give it a name.
-- 
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to