You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b33bdc3
Browse filesBrowse the repository at this point in the historyBrowse files
Nix also contains a FdSet, but its semantics are too strict for
mechanical translation:
https://docs.rs/nix/latest/nix/sys/select/struct.FdSet.html
nix::FdSet has lifetime attached and the methods insert/remove/etc take
a BorrowedFd, not a raw integer. This is too strict for the C semantics.
Instead, in C, you can modify the fd set in whichever way you want, and
only a later call to select will validate if the fd set is in a valid
state or not.
To fix this limitation I added CFdSet which behaves like the C version
of fd set.
0 commit comments