python - Does shared memory changed in the parent process affect child processes? -
a shared memory array (multiprocessing.array object) sent process argument. if parent process changes shared memory, child process see changes? , can parent process see changes made child-processes?
if not, in way can change shared memory using data queue child processes fill up? thought using process, seems redundant.
the documentation on seems scarce...
platform windows 8
see http://docs.python.org/2/library/multiprocessing.html#sharing-state-between-processes.
the example shows array being modified in child process , changes being visible in parent process (and value well).
Comments
Post a Comment