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

Don't need an extra check for errors in kqueue #28

Closed Thomasdezeeuw closed 5 years ago

Thomasdezeeuw commented 5 years ago

Looking at EV_RECEIPT in https://www.freebsd.org/cgi/man.cgi?query=kqueue&manpath=FreeBSD+11.2-RELEASE+and+Ports (which we use here) I don't think the call to check_errors is needed here: https://github.com/Thomasdezeeuw/mio-st/blob/master/src/sys/unix/kqueue.rs#L255.

Thomasdezeeuw commented 5 years ago

We do need this.