libboost-fiber

[full]

(C++11) Userland threads library

Boost.fiber provides a framework for micro-/userland-threads (fibers) scheduled cooperatively. The API contains classes and functions to manage and synchronize fibers similar to boost.thread.

A fiber is able to store the current execution state, including all registers and CPU flags, the instruction pointer, and the stack pointer and later restore this state. The idea is to have multiple execution paths running on a single thread using a sort of cooperative scheduling (threads are preemptively scheduled) - the running fiber decides explicitly when it yields to allow another fiber to run (context switching).

... More
license BSL-1.0
project boost
url github.com/boostorg/fiber
doc-url www.boost.org/doc/libs/1_78_0/libs/fiber
topics C++Boost
2 Versions
version 1.78.0
repository https://pkg.cppget.org/1/stable
depends 10; libboost-algorithm, libboost-filesystem, libboost-format, libboost-assert, libboost-config, libboost-context, libboost-core, libboost-intrusive, libboost-predef, libboost-smart-ptr
version 1.77.0+1
repository https://pkg.cppget.org/1/stable
depends 10; libboost-algorithm, libboost-filesystem, libboost-format, libboost-assert, libboost-config, libboost-context, libboost-core, libboost-intrusive, libboost-predef, libboost-smart-ptr