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

Check io flags #32

Closed Thomasdezeeuw closed 5 years ago

Thomasdezeeuw commented 5 years ago

Currently use after fork is somewhat vague. For exampe kqueue won't work after fork, but epoll might. We need to make it consistent.

Thomasdezeeuw commented 5 years ago

We now set EPOLL_CLOEXEC in our call to epoll_create1 and kqueue already closes itself when forked. So I think this can be closed.