juliex - a minimal futures executor
juliex is a concurrent executor for Rust futures. It is implemented as a threadpool executor using a single, shared queue. Algorithmically, it is very similar to the Threadpool executor provided by the futures crate. The main difference is that juliex uses a crossbeam channel and performs a single allocation per spawned future, whereas the futures Threadpool uses std concurrency primitives and multiple allocations.
Similar to romio - an IO reactor - juliex currently provides no user configuration. It exposes the most minimal API possible.
Example
use io;
use StreamExt;
use executor;
use AsyncReadExt;
use ;
async
Safety
This crate uses unsafe
internally around atomic access. Invariants around this
are manually checked.
License
MIT OR Apache-2.0