summaryrefslogtreecommitdiffstats
path: root/Python/dynload_win.c
diff options
context:
space:
mode:
authorPetr Viktorin <encukou@gmail.com>2024-01-24 12:21:10 (GMT)
committerGitHub <noreply@github.com>2024-01-24 12:21:10 (GMT)
commitc912bc3ed41d18e7822f584008454f9bf4fff98a (patch)
treeacf9a784d08a1bbe4618a92554712da140a4f580 /Python/dynload_win.c
parent03f8f77885cd1bf802cc8945dfdb308772c471ac (diff)
downloadcpython-c912bc3ed41d18e7822f584008454f9bf4fff98a.zip
cpython-c912bc3ed41d18e7822f584008454f9bf4fff98a.tar.gz
cpython-c912bc3ed41d18e7822f584008454f9bf4fff98a.tar.bz2
[3.12] gh-114440: Close writer pipe in multiprocessing.Queue, not concurrent.futures (GH-114489)
This was left out of the 3.12 backport for three related issues: - gh-107219 (which adds `self.call_queue._writer.close()` to `_ExecutorManagerThread` in `concurrent.futures`) - gh-109370 (which changes this to be only called on Windows) - gh-109047 (which moves the call to `multiprocessing.Queue`'s `_terminate_broken`) Without this change, ProcessPoolExecutor sometimes hangs on Windows when a worker process is terminated. Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Python/dynload_win.c')
0 files changed, 0 insertions, 0 deletions