Message362670
While looking into this proposal, I realized that this will not wake up the loop from the select call. I think the safest solution would be to use the wakeup fd mechanism.
An additional easy, but less secure solution would be to define an internal 'signal safe' context manager that will be used only in the critical parts.
What do you think? |
|
Date |
User |
Action |
Args |
2020-02-25 23:13:31 | kmaork | set | recipients:
+ kmaork, asvetlov, yselivanov, Zhibin Dong |
2020-02-25 23:13:31 | kmaork | set | messageid: <1582672411.32.0.541368793459.issue39622@roundup.psfhosted.org> |
2020-02-25 23:13:31 | kmaork | link | issue39622 messages |
2020-02-25 23:13:31 | kmaork | create | |
|