This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author 0x0L
Recipients 0x0L, davin, iritkatriel, pitrou, python-dev, shihai1991
Date 2021-08-31.12:04:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1630411450.69.0.258394090344.issue45021@roundup.psfhosted.org>
In-reply-to
Content
In the last reproducing example, one can drop the .result() and just submit the task: we're not waiting on any result explicitly. It's the shutdown of the ProcessPoolExecutor that waits forever for the children to exit.

Generally speaking it's probably a bad idea to mix multi-thread and forks. See https://www.linuxprogrammingblog.com/threads-and-fork-think-twice-before-using-them
History
Date User Action Args
2021-08-31 12:04:100x0Lsetrecipients: + 0x0L, pitrou, python-dev, davin, shihai1991, iritkatriel
2021-08-31 12:04:100x0Lsetmessageid: <1630411450.69.0.258394090344.issue45021@roundup.psfhosted.org>
2021-08-31 12:04:100x0Llinkissue45021 messages
2021-08-31 12:04:100x0Lcreate