Handle spurious wakeups
Closed this issue · 1 comments
jD91mZM2 commented
It's entirely possible, although clearly unlikely since it hasn't happened to me yet, that the mio event loop returns an event that is a false positive.
All file descriptors need to be nonblocking, and any WouldBlock I/O errors need to be ignored.
Even the signalfd.