[Numpy-discussion] Using multiprocessing (shared memory) with numpy array multiplication

Sturla Molden sturla@molden...
Thu Jun 16 12:55:43 CDT 2011


Den 16.06.2011 19:47, skrev Christopher Barker:
>
> What do you need to pickle if you're using shared memory?

The meta-data for the ndarray (strides, shape, dtype, etc.) and the name 
of the shared memory segment. As there is no fork, we must tell the 
other process where to find the shared memory and what to do with it.

Sturla


More information about the NumPy-Discussion mailing list