]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-94777: Fix deadlock in ProcessPoolExecutor (GH-94784) (#106609)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 10 Jul 2023 22:49:07 +0000 (15:49 -0700)
committerGitHub <noreply@github.com>
Mon, 10 Jul 2023 22:49:07 +0000 (22:49 +0000)
commit90ea3be6fbee1520dd3e9344c71123e15fcbe6f2
tree4488a0a59746eb75c8c010359394e54dccec5073
parent68ca19061d19345a72574a6c3849981213de212b
[3.12] gh-94777: Fix deadlock in ProcessPoolExecutor (GH-94784) (#106609)

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]