cpython/Lib/concurrent/futures
Miss Islington (bot) 8e523c1151
[3.10] gh-90622: Do not spawn ProcessPool workers on demand via fork method. (GH-91598) (GH-92497) (#92499)
Do not spawn ProcessPool workers on demand when they spawn via fork.

This avoids potential deadlocks in the child processes due to forking from
a multithreaded process..
(cherry picked from commit ebb37fc3fd)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
(cherry picked from commit b795376a62)

Co-authored-by: Gregory P. Smith <greg@krypto.org>

Co-authored-by: Gregory P. Smith <greg@krypto.org>
2022-05-08 11:22:36 -07:00
..
__init__.py bpo-33238: Add InvalidStateError to concurrent.futures. (GH-7056) 2018-05-30 10:15:06 +03:00
_base.py concurrent.futures: Fix typo in docstring (GH-92121) 2022-05-02 09:25:45 -07:00
process.py [3.10] gh-90622: Do not spawn ProcessPool workers on demand via fork method. (GH-91598) (GH-92497) (#92499) 2022-05-08 11:22:36 -07:00
thread.py [3.9] bpo-45021: Fix a hang in forked children (GH-28007) (GH-28481) 2021-09-20 11:54:24 -07:00