1 unstable release
0.1.0 | Aug 22, 2019 |
---|
#271 in #async-io
Used in fumio
76KB
2K
SLoC
fumio-utils
lib.rs
:
A reactor implementation compatible with std
futures based on mio.
Compared to romio this implementation gives more control over the reactor.
The reactor needs to be polled explicitly and can therefor be integrated with other components (pool of futures, timer) to build a single threaded runtime (instead of running each component in a separate thread).
While the main reactor struct can only be used by a single thread, the handles to it are thread-safe, and all threads can register for events with it.
Dependencies
~1.5MB
~29K SLoC