STINNER Victor <vstin...@redhat.com> added the comment:

My PR 11136 doesn't work: _maintain_pool() should be called frequently to check 
when a worker completed. Polling worker exit status seems inefficient :-(

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 <rep...@bugs.python.org>
<https://bugs.python.org/issue35479>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to