[issue9205] Parent process hanging in multiprocessing if children terminate unexpectedly

Antoine Pitrou report at bugs.python.org
Tue May 3 02:57:20 CEST 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

Here is a proof-of-concept patch that makes concurrent.futures able to detect killed processes. Works only under POSIX, and needs issue11743.
I'm not sure it's a good idea to change the multiprocessing public API (SimpleQueue.get()) for this.

----------
keywords: +patch
Added file: http://bugs.python.org/file21865/sentinels.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9205>
_______________________________________


More information about the Python-bugs-list mailing list