パッケージ: libboost-fiber1.74.0 (1.74.0+ds1-23.1 など)
libboost-fiber1.74.0 に関するリンク
Debian の資源:
boost1.74 ソースパッケージをダウンロード:
- [boost1.74_1.74.0+ds1-23.1.dsc]
- [boost1.74_1.74.0+ds1.orig.tar.xz]
- [boost1.74_1.74.0+ds1-23.1.debian.tar.xz]
メンテナ:
外部の資源:
- ホームページ [www.boost.org]
類似のパッケージ:
cooperatively-scheduled micro-/userland-threads
This package forms part of the Boost C++ Libraries collection.
Boost.Fiber provides a framework for micro-/userland-threads (fibers) scheduled cooperatively. The API contains classes and functions to manage and synchronize fibers similarly to standard thread support library.
Each fiber has its own stack.
A fiber can save 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 cooperative scheduling (versus threads, which are preemptively scheduled). The running fiber decides explicitly when it should yield to allow another fiber to run (context switching). Boost.Fiber internally uses execution_context from Boost.Context; the classes in this library manage, schedule and, when needed, synchronize those execution contexts. A context switch between threads usually costs thousands of CPU cycles on x86, compared to a fiber switch with less than a hundred cycles. A fiber runs on a single thread at any point in time.
その他の libboost-fiber1.74.0 関連パッケージ
|
|
|
|
-
- dep: libboost-context1.74.0 (>= 1.74.0+ds1)
- provides a sort of cooperative multitasking on a single thread
-
- dep: libc6 (>= 2.34)
- GNU C ライブラリ: 共有ライブラリ
以下のパッケージによって提供される仮想パッケージでもあります: libc6-udeb
-
- dep: libgcc-s1 (>= 3.0)
- GCC 共有ライブラリ
-
- dep: libstdc++6 (>= 14)
- GNU 標準 C++ ライブラリ v3