bpo-31326: ProcessPoolExecutor waits for the call queue thread (#3265) · python/cpython@b713adf · GitHub
Skip to content

Commit b713adf

Browse files
authored
bpo-31326: ProcessPoolExecutor waits for the call queue thread (#3265)
* bpo-31326: ProcessPoolExecutor waits for the call queue thread concurrent.futures.ProcessPoolExecutor.shutdown() now explicitly closes the call queue. Moreover, shutdown(wait=True) now also join the call queue thread, to prevent leaking a dangling thread. * Fix for shutdown() being called twice.
1 parent 97e1b1c commit b713adf

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

Lib/concurrent/futures/process.py

Lines changed: 5 additions & 1 deletion
Lines changed: 3 additions & 0 deletions

0 commit comments

Comments
 (0)