[issue11663] concurrent.futures (or multiprocessing?) doesn't detect killed processes

Antoine Pitrou report at bugs.python.org
Thu Mar 24 17:18:22 CET 2011


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

Le jeudi 24 mars 2011 à 16:16 +0000, STINNER Victor a écrit :
> STINNER Victor <victor.stinner at haypocalc.com> added the comment:
> 
> In the following example, if I kill the child process, the parent is immediatly done:
> ---
> from os import getpid
> from time import sleep
> from multiprocessing import Process

concurrent.futures uses a multiprocessing.Queue to get the function
results back. You should use a similar setup in your script.

----------

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


More information about the Python-bugs-list mailing list