alla flaggor
trixie  ] [  sid  ]
[ Källkod: boost1.83  ]

Paket: libboost-fiber1.83.0 (1.83.0-3.2)

Länkar för libboost-fiber1.83.0

Screenshot

Debianresurser:

Hämta källkodspaketet boost1.83:

Ansvariga:

Externa resurser:

Liknande paket:

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.

Andra paket besläktade med libboost-fiber1.83.0

  • beror
  • rekommenderar
  • föreslår
  • enhances

Hämta libboost-fiber1.83.0

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
amd64 247,9 kbyte2.223,0 kbyte [filförteckning]
arm64 246,8 kbyte2.275,0 kbyte [filförteckning]
armel 245,6 kbyte2.210,0 kbyte [filförteckning]
armhf 245,2 kbyte2.194,0 kbyte [filförteckning]
i386 250,5 kbyte2.222,0 kbyte [filförteckning]
mips64el 248,9 kbyte2.282,0 kbyte [filförteckning]
ppc64el 250,1 kbyte2.275,0 kbyte [filförteckning]
riscv64 247,3 kbyte2.207,0 kbyte [filförteckning]
s390x 247,9 kbyte2.223,0 kbyte [filförteckning]