socketry / io-event

MIT License
66 stars 15 forks source link

Don't use EPOLLONESHOT for the wakeup event. #68

Closed Math2 closed 1 year ago

Math2 commented 1 year ago

Types of Changes

Contribution

ioquatix commented 1 year ago

Sorry, it's not immediately obvious what problem is being fixed, do you mind giving a little more context?

Math2 commented 1 year ago

EPoll#wakeup only works the first time. The wakeup event is only ever being registered once (in IO_Event_Interrupt_add), so it shouldn't be one-shot.