Commit b713adf
authored
* 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 b713adfCopy full SHA for b713adf
2 files changed
+8-1Lines changed: 8 additions & 1 deletion
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- Lib/concurrent/futures
- Misc/NEWS.d/next/Library
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Lib/concurrent/futures/process.py
Copy file name to clipboardExpand all lines: Lib/concurrent/futures/process.py+5-1Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
507 | 507 | |
508 | 508 | |
509 | 509 | |
510 | | - |
| 510 | + |
| 511 | + |
| 512 | + |
| 513 | + |
| 514 | + |
511 | 515 | |
512 | 516 | |
513 | 517 | |
|
Collapse file
Misc/NEWS.d/next/Library/2017-09-01-18-48-06.bpo-31326.TB05tV.rst
Copy file name to clipboard+3Lines changed: 3 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
0 commit comments