commit | dd696496605883a44da983ad81e55a01e996a004 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Wed Jun 08 17:21:55 2011 +0200 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Wed Jun 08 17:21:55 2011 +0200 |
tree | 505cc588dc520311ff2935b8804c04663b26c054 | |
parent | 4a5e5de03f47b7076fc0eabc9817a59efd20049d [diff] [blame] |
Issue #9205: concurrent.futures.ProcessPoolExecutor now detects killed children and raises BrokenProcessPool in such a situation. Previously it would reliably freeze/deadlock.
diff --git a/Lib/multiprocessing/forking.py b/Lib/multiprocessing/forking.py index 3c359cb..a2c61ef 100644 --- a/Lib/multiprocessing/forking.py +++ b/Lib/multiprocessing/forking.py
@@ -35,6 +35,7 @@ import os import sys import signal +import select from multiprocessing import util, process