Thomasdezeeuw / gaea

Low-level library to build event driven applications, supporting lightweight non-blocking I/O.
https://docs.rs/gaea/
MIT License
16 stars 0 forks source link

Support PollOpt in user space registration #1

Closed Thomasdezeeuw closed 6 years ago

Thomasdezeeuw commented 6 years ago

This could as simple as adding the PollOpt to RegistrationInner and checking for it to be oneshot, if so the first call to notify will also call deregister.

Thomasdezeeuw commented 6 years ago

Changing this issue into only allow Edge and Oneshot, and disallow Level. Oneshot will deregister itself once a single notification has gone out.

Thomasdezeeuw commented 6 years ago

Use space events are now done directly on Poller, so this can be closed.