[SciPy-User] Multiprocessing and shared memory
Sun Oct 18 18:16:43 CDT 2009
> I'm probably wrong - but if it is really only read only access you
> need to an array can't you just put it as a module variable before the
> fork - then all the workers can access it and as long as they don't
> touch it it shouldn't make a copy.
If you have a copy-on-write optimized fork (e.g. modern linux kernels),
yes, pages that are never written to are never copied.
More information about the SciPy-User