On Mon, Apr 5, 2010 at 03:08, Nadav Horesh <nad...@visionsense.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. -- Robert Kern "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 _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion