Message291484
If it helps, notice that the SetEvent(sigint_event) call used to wake up the main thread on windows is also performed unconditionally and after the call to Py_AddPendingEvent. From the point of view of twisted/tornado/trio, this is exactly the same as the write to the wakeup fd -- the only reason we use the wakeup fd instead of the sigint_event is that it's more convenient to wait on an fd than on an event object. |
|
Date |
User |
Action |
Args |
2017-04-11 11:00:59 | njs | set | recipients:
+ njs, vstinner |
2017-04-11 11:00:58 | njs | set | messageid: <1491908458.99.0.737169287216.issue30038@psf.upfronthosting.co.za> |
2017-04-11 11:00:58 | njs | link | issue30038 messages |
2017-04-11 11:00:58 | njs | create | |
|