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:14

@oesteban

oesteban added a commit to oesteban/nipype that referenced this pull request

Nov 9, 2018
This 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

@oesteban

effigies

effigies

pitrou

@oesteban

@oesteban

@oesteban

@oesteban

@pitrou 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

Feb 7, 2019

pierreglaser