(C++11) Context switching library

boost.context is a foundational library that provides a sort of cooperative multitasking on a single thread. By providing an abstraction of the current execution state in the current thread, including the stack (with local variables) and stack pointer, all registers and CPU flags, and the instruction pointer, a execution_context instance represents a specific point in the application's execution path. This is useful for building higher-level abstractions, like coroutines, cooperative threads (userland threads) or an equivalent to C# keyword yield in C++.

... More
license BSL-1.0
project boost
topics C++Boost
1 Version
version 1.77.0+1
depends 7; libboost-assert, libboost-config, libboost-core, libboost-mp11, libboost-pool, libboost-predef, libboost-smart-ptr