mirror of https://github.com/smol-rs/polling
b9ab821df1
Previous, `Poller::wait` would bubble signal interruption error to the user. However, this may be unexpected for simple use cases. Thus, this commit makes it so, if `ErrorKind::Interrupted` is received by the underlying `wait()` call, it clears the events and tries to wait again. This also adds a test for this interruption written by @psychon. Co-Authored-By: Uli Schlachter <psychon@users.noreply.github.com> Signed-off-by: John Nunley <dev@notgull.net> |
||
---|---|---|
.. | ||
concurrent_modification.rs | ||
io.rs | ||
many_connections.rs | ||
multiple_pollers.rs | ||
notify.rs | ||
other_modes.rs | ||
precision.rs | ||
timeout.rs | ||
windows_post.rs | ||
windows_waitable.rs |