Author vstinner
Recipients davin, pablogsal, pitrou, vstinner
Date 2018-12-14.11:48:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> How do you use SIGCHLD on Windows?

I'm only proposing to use a signal when it's available, on UNIX. So have multiple implementations of the function, depending on the ability to get notified on completion without polling.

On Windows, maybe we could use a dedicated thread to set an event once WaitForSingleObject/WaitForMultipleObjects completes?

The design of my bpo-35479 change is to replace polling with one or multiple events. Maybe we can use an event to wakeup _worker_handler() when something happens, but have different wants to signal this event.

I have to investigate how Process.sentinel can be used here.

I might be interesting to use asyncio internally, but I'm not sure if it's possible ;-)
Date User Action Args
2018-12-14 11:48:02vstinnersetrecipients: + vstinner, pitrou, davin, pablogsal
2018-12-14 11:48:02vstinnersetmessageid: <>
2018-12-14 11:48:02vstinnerlinkissue35493 messages
2018-12-14 11:48:02vstinnercreate