全部搜索项
bullseye  ] [  bookworm  ] [  sid  ]
[ 源代码: boost1.74  ]

软件包:libboost-fiber1.74-dev(1.74.0+ds1-21)

libboost-fiber1.74-dev 的相关链接

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-dev 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • 增强

下载 libboost-fiber1.74-dev

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
arm64 245.8 kB2,281.0 kB [文件列表]