Johannes Bauer wrote at 2021-12-6 00:50 +0100: >I'm a bit confused. In my scenario I a mixing threading with >multiprocessing. Threading by itself would be nice, but for GIL reasons >I need both, unfortunately. I've encountered a weird situation in which >multiprocessing Process()es which are started in a new thread don't >actually start and so they deadlock on join.
The `multiprocessing` doc (--> "https://docs.python.org/3/library/multiprocessing.html#module-multiprocessing") has the following warning: "Note that safely forking a multithreaded process is problematic." Thus, if you use the `fork` method to start processes, some surprises are to be expected. -- https://mail.python.org/mailman/listinfo/python-list