(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_87_0/libs/fiber |
boost-users@lists.boost.orgMailing list | |
topics | C++Boost |
6 Versions
version | 1.87.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 |
reviews | +1 |
version | 1.85.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 |
reviews | +1 |
version | 1.83.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 |
reviews | +1 |
version | 1.81.0+1 |
---|---|
repository | https://pkg.cppget.org/1/legacy |
depends | 10; libboost-algorithm, libboost-filesystem, libboost-format, libboost-assert, libboost-config, libboost-context, libboost-core, libboost-intrusive, libboost-predef, libboost-smart-ptr |
reviews | +1 |
version | 1.78.0 |
---|---|
repository | https://pkg.cppget.org/1/legacy |
depends | 10; libboost-algorithm, libboost-filesystem, libboost-format, libboost-assert, libboost-config, libboost-context, libboost-core, libboost-intrusive, libboost-predef, libboost-smart-ptr |
reviews | +1 |
version | 1.77.0+1 |
---|---|
repository | https://pkg.cppget.org/1/legacy |
depends | 10; libboost-algorithm, libboost-filesystem, libboost-format, libboost-assert, libboost-config, libboost-context, libboost-core, libboost-intrusive, libboost-predef, libboost-smart-ptr |
reviews | +1 |