2.6, 3.0, and truly independent intepreters
greg
greg at cosc.canterbury.ac.nz
Sat Oct 25 02:19:19 EDT 2008
Andy O'Meara wrote:
> In our case, we're doing image and video
> manipulation--stuff not good to be messaging from address space to
> address space.
Have you considered using shared memory?
Using mmap or equivalent, you can arrange for a block of
memory to be shared between processes. Then you can dump
the big lump of data to be transferred in there, and send
a short message through a pipe to the other process to
let it know it's there.
--
Greg
More information about the Python-list
mailing list