This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yselivanov
Recipients aeros, asvetlov, chris.jerdonek, jstasiak, miss-islington, njs, pablogsal, shreyanavigyan, vstinner, yselivanov
Date 2021-06-09.02:43:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1623206616.44.0.188979446884.issue38323@roundup.psfhosted.org>
In-reply-to
Content
>  MultiLoopChildWatcher must ensures that the event loop is awaken when it receives a signal by using signal.setwakeup(). This is done by _UnixSelectorEventLoop.add_signal_handler(). Maybe MultiLoopChildWatcher could reuse this function, rather than calling directly signal.signal().

I think this is a good idea. MultiLoopChildWatcher could use setwakeupfd with some no-op callback just to wakeup the loop.
History
Date User Action Args
2021-06-09 02:43:36yselivanovsetrecipients: + yselivanov, vstinner, njs, asvetlov, chris.jerdonek, jstasiak, pablogsal, miss-islington, aeros, shreyanavigyan
2021-06-09 02:43:36yselivanovsetmessageid: <1623206616.44.0.188979446884.issue38323@roundup.psfhosted.org>
2021-06-09 02:43:36yselivanovlinkissue38323 messages
2021-06-09 02:43:36yselivanovcreate