Thomasdezeeuw/gaea

How to handle EINTR, EWOULDBLOCK and EAGAIN in poll

Closed this issue · 1 comments

EINTR (io::ErrorKind::Interrupted), EWOULDBLOCK and EAGAIN (io::ErrorKind::WouldBlock) are three errors that aren't actually errors and can usually be safely ignored.

I think docs in OsQueue should be enough? I don't really want to force the user to do one thing or another, so I think its best to leave it up to the user to decide what to do.