Crate context [] [src]

This project provides an easy interface to the famous Boost.Context library and thus the building blocks for higher-level abstractions, like coroutines, cooperative threads (userland threads) or an equivalent to the C# keyword "yield".

Reexports

pub use context::Context;
pub use context::Transfer;
pub use context::ContextFn;
pub use context::ResumeOntopFn;

Modules

context

Provides the Context and Transfer types for saving and restoring the current state of execution.

stack

Provides utilities to allocate memory suitable as stack memory for Context.