1 unstable release

0.1.0 Aug 22, 2019

#94 in #runtime


Used in fumio

MIT license

74KB
2K SLoC

fumio-utils

mio-based asynchronous IO for fumio.


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
~26K SLoC