Crate cuckoo_runtime

Source
Expand description

A work-stealing runtime to run async CPU-heavy rust workloads inside multi-threaded applications.

The main idea behind Cuckoo is that some systems already have opinionated threading models, and spinning up additional threads just to run some async code might cause increased core contention and hurt overall performance.

Cuckoo is mostly intended to run async code in a block fashion (within block_on blocks), and while a thread is waiting on some future, it can take work from other threads and make some progress on them.

§Current Status

Cuckoo is completely experimental, it might deadlock, cause unexpected behavior or is probably not very fast.

Modules§

futures
Utility futures

Structs§

Handle
A handle to the runtime that can be cloned and sent across threads.
JoinHandle
Runtime
The main runtime instance, holds all global state and thread-specific handles are created by it.