[−][src]Crate fd_reactor
A reactor for handling file descriptors in a background thread.
Implementation Notes
- The reactor's background thread is spawned on the first time that the reactor handle is fetched.
- Each file descriptor registers an interest to listen for.
- On registering a new file descriptor, a pipe is used to interrupt the poll operation.
Structs
Handle | A handle to the reactor, for registering and unregistering file descriptors. |
Interest | Events that should be listened for on a given file descriptor. |
Statics
REACTOR | Fetches the handle to the reactor which is running in a background thread. |