Expand description
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”.
Re-exports§
pub use context::Context;
pub use context::ContextFn;
pub use context::ResumeOntopFn;
pub use context::Transfer;
Modules§
- context
- Provides the
Context
andTransfer
types for saving and restoring the current state of execution. - stack
- Provides utilities to allocate memory suitable as stack memory for
Context
.