garbage collection of shared data in multiprocessing via fork
问题 I am doing some multiprocessing in linux, and I am using shared memory that is currently not explicitly passed to the child processes (not via an argument). In the official python multiprocessing Programming guidelines at the "Explicitly pass resources to child processes" section it is written: On Unix using the fork start method, a child process can make use of a shared resource created in a parent process using a global resource. However, it is better to pass the object as an argument to