Skip to content
Sections
>> Trisquel >> パッケージ >> aramo >> libdevel >> libboost-fiber1.74-dev
aramo  ]
[ ソース: boost1.74  ]

パッケージ: libboost-fiber1.74-dev (1.74.0-14ubuntu3)

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-dev 関連パッケージ

  • 依存
  • 推奨
  • 提案

libboost-fiber1.74-dev のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
amd64 247.6 kB2294 kB [ファイル一覧]
arm64 250.1 kB2305 kB [ファイル一覧]
armhf 249.1 kB2247 kB [ファイル一覧]
ppc64el 252.7 kB2324 kB [ファイル一覧]