Search code examples
pythonpython-multiprocessing

Python: What happens when main process is terminated.


I am working with the multiprocessing module on a Unix system. I have noticed memory leaks when I terminate one of my programs. I was thinking that this might be because the processes that were started in the main process kept running. Is this correct?


Solution

  • I think I'd refer you to this post where he does a great job of explaining how other threads behave.