Crate lofi [] [src]

Cooperative userland threads library for rust.

Modules

lo

Low-level fiber scheduler implementation. Highly unstable!

Structs

Builder

Scheduler configuration builder.

SpawnError

Error that happened when attempting spawn.

SyncGroup

Task spawner.

Functions

run

Start the scheduler with the default config and the supplied closure as a root job.

yield_now

Cooperatively yield execution to other fibers.