]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-94777: Fix deadlock in ProcessPoolExecutor (GH-94784) (#106607)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 10 Jul 2023 22:21:04 +0000 (15:21 -0700)
committerGitHub <noreply@github.com>
Mon, 10 Jul 2023 22:21:04 +0000 (16:21 -0600)
commitd63953d0f532fd4ed9615171b1f5699d5fff7db9
treefcd24e1cee51d03daf9492fa86d46593da79098b
parent563829df559332eaa169c5cd84ce87e4f962dfaa
[3.11] gh-94777: Fix deadlock in ProcessPoolExecutor (GH-94784) (#106607)

gh-94777: Fix deadlock in ProcessPoolExecutor (GH-94784)

Fixes a hang in multiprocessing process pool executor when a child process crashes and code could otherwise block on writing to the pipe.  See GH-94777 for more details.
(cherry picked from commit 6782fc050281205734700a1c3e13b123961ed15b)

Co-authored-by: Louis Paulot <55740424+lpaulot@users.noreply.github.com>
Lib/concurrent/futures/process.py
Lib/test/test_concurrent_futures.py
Misc/NEWS.d/next/Library/2022-07-12-18-45-13.gh-issue-94777.mOybx7.rst [new file with mode: 0644]