mirror of
https://github.com/python/cpython.git
synced 2025-09-27 18:59:43 +00:00
Issue #11814: Fix likely typo in multiprocessing.Pool._terminate().
This commit is contained in:
parent
81dee6b4d4
commit
bed9a5b6b3
2 changed files with 3 additions and 1 deletions
|
@ -500,7 +500,7 @@ class Pool(object):
|
||||||
task_handler.join()
|
task_handler.join()
|
||||||
|
|
||||||
debug('joining result handler')
|
debug('joining result handler')
|
||||||
task_handler.join()
|
result_handler.join()
|
||||||
|
|
||||||
if pool and hasattr(pool[0], 'terminate'):
|
if pool and hasattr(pool[0], 'terminate'):
|
||||||
debug('joining pool workers')
|
debug('joining pool workers')
|
||||||
|
|
|
@ -53,6 +53,8 @@ Core and Builtins
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Issue #11814: Fix likely typo in multiprocessing.Pool._terminate().
|
||||||
|
|
||||||
- Issue #8428: Fix a race condition in multiprocessing.Pool when terminating
|
- Issue #8428: Fix a race condition in multiprocessing.Pool when terminating
|
||||||
worker processes: new processes would be spawned while the pool is being
|
worker processes: new processes would be spawned while the pool is being
|
||||||
shut down. Patch by Charles-François Natali.
|
shut down. Patch by Charles-François Natali.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue