Closed withoutboats closed 4 years ago
@mxxo FYI I ended up making some changes to the ringfd/registeredfd system in this branch:
RingFd
a trait instead of an enum. This makes the code cleaner and probably easier to optimize.io::Error
, this is better than panicking because users can choose to recover from it.RegisteredFd
hold the RawFd as well as the index, since that just makes it an 8 byte struct which should be fine for everyone.
This will be a substantial expansion of the API, with some important breaking changes. There are two main drivers: