Author pitrou
Recipients davin, iritkatriel, moi90, pitrou
Date 2021-06-26.08:10:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1624695031.6.0.595884790976.issue41539@roundup.psfhosted.org>
In-reply-to
Content
This is just issue6721 again.

The workaround is easy: just add `multiprocessing.set_start_method("forkserver")` at the start of your program.

Also, this is more or less documented, though quite tersely:
"""Note that safely forking a multithreaded process is problematic.""
https://docs.python.org/3/library/multiprocessing.html#contexts-and-start-methods
History
Date User Action Args
2021-06-26 08:10:31pitrousetrecipients: + pitrou, davin, iritkatriel, moi90
2021-06-26 08:10:31pitrousetmessageid: <1624695031.6.0.595884790976.issue41539@roundup.psfhosted.org>
2021-06-26 08:10:31pitroulinkissue41539 messages
2021-06-26 08:10:30pitroucreate