when I define a variable on a module level, start a new subprocess and modify this variable in the child process, should the change be visible in the parent process? From my experiments, it seems that the answer is 'no' but I'm wandering if I am not missing something.
I'm trying to do this since I need to share large volumes of memory between the parent and child processes and multiprocessing.Queue
is way too slow for my purposes.