Author vstinner
Recipients vstinner
Date 2018-12-14.11:06:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1544785605.97.0.788709270274.issue35479@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2018-12-14 11:06:46vstinnersetrecipients: + vstinner
2018-12-14 11:06:45vstinnersetmessageid: <1544785605.97.0.788709270274.issue35479@psf.upfronthosting.co.za>
2018-12-14 11:06:45vstinnerlinkissue35479 messages
2018-12-14 11:06:45vstinnercreate