全部搜尋項
bullseye  ] [  bookworm  ] [  sid  ]
[ 原始碼: boost1.74  ]

套件:libboost-fiber1.74.0(1.74.0+ds1-23.1 以及其他的)

libboost-fiber1.74.0 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 boost1.74

維護小組:

外部的資源:

相似套件:

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 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 libboost-fiber1.74.0

下載可用於所有硬體架構的
硬體架構 版本 套件大小 安裝後大小 檔案
amd64 1.74.0+ds1-23.1+b3 234。4 kB2,101。0 kB [檔案列表]