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

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -