[issue35493] multiprocessing.Pool._worker_handler(): use SIGCHLD to be notified on worker exit

STINNER Victor report at bugs.python.org
Fri Dec 14 06:33:11 EST 2018


STINNER Victor <vstinner at redhat.com> added the comment:

asyncio uses SIGCHLD signal to be notified when a child process completes. SafeChildWatcher calls os.waitpid(pid, os.WNOHANG) on each child process, whereas FastChildWatcher() uses os.waitpid(-1, os.WNOHANG).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35493>
_______________________________________


More information about the Python-bugs-list mailing list