bpo-22393: Fix multiprocessing.Pool hangs if a worker process dies unexpectedly by oesteban · Pull Request #10441 · python/cpython
added 7 commits
November 6, 2018 15:14oesteban added a commit to oesteban/nipype that referenced this pull request
Nov 9, 2018This PR relates to nipy#2700, and should fix the problem underlying nipy#2548. I first considered adding a control thread that monitors the `Pool` of workers, but that would require a large overhead keeping track of PIDs and polling very often. Just adding the core file of [bpo-22393](python/cpython#10441) should fix nipy#2548
pitrou
changed the title
bpo-22393: FIX multiprocessing.Pool hangs if a worker process dies unexpectedly
bpo-22393: Fix multiprocessing.Pool hangs if a worker process dies unexpectedly
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters