(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 |
url | github.com/boostorg/context |
doc-url | www.boost.org/doc/libs/1_83_0/libs/context |
boost-users@lists.boost.orgMailing list | |
topics | C++Boost |
4 Versions
version | 1.83.0 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 7; libboost-assert, libboost-config, libboost-core, libboost-mp11, libboost-pool, libboost-predef, libboost-smart-ptr |
reviews | +1 |
version | 1.81.0+1 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 7; libboost-assert, libboost-config, libboost-core, libboost-mp11, libboost-pool, libboost-predef, libboost-smart-ptr |
reviews | +1 |
version | 1.78.0 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 7; libboost-assert, libboost-config, libboost-core, libboost-mp11, libboost-pool, libboost-predef, libboost-smart-ptr |
reviews | +1 |
version | 1.77.0+1 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 7; libboost-assert, libboost-config, libboost-core, libboost-mp11, libboost-pool, libboost-predef, libboost-smart-ptr |
reviews | +1 |