[Numpy-discussion] Annoyance of memap rraywithmultiprocessing.Pool.applay_async
Mon Apr 5 08:39:59 CDT 2010
On Mon, Apr 5, 2010 at 03:08, Nadav Horesh <email@example.com> wrote:
> Is there a way to use memory mapped files as if they were shared memory? I made an application in which some (very often non contiguous) parts of a memmap array are processed by different processors. However I might use shared memory array instead. I wonder, since both types share common properties, if there a way to interchange then transparently.
Yes, you just need to instantiate the memmap arrays separately in each process.
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the NumPy-Discussion