Switch to an edge-triggered event system
Created by: jD91mZM2
- Only send events once.
- Resend events when new file is registered.
- Return EAGAIN when a read would be blocking.
- Return EAGAIN when an accept would be blocking (<- new! accepts can now be nonblocking!)
This matches the behavior of other systems more closely and allows me to basically almost completely revert all my work on tokio. It feels kind of sad but it's for the best.