wszystkie opcje
bullseye  ] [  bookworm  ] [  sid  ]
[ Pakiet źródłowy: boost1.74  ]

Pakiet: libboost-fiber1.74.0 (1.74.0+ds1-21)

Odnośniki dla libboost-fiber1.74.0

Screenshot

Zasoby systemu Debian:

Pobieranie pakietu źródłowego boost1.74:

Opiekunowie:

Zasoby zewnętrzne:

Podobne pakiety:

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.

Inne pakiety związane z libboost-fiber1.74.0

  • wymaga
  • poleca
  • sugeruje
  • enhances

Pobieranie libboost-fiber1.74.0

Pobierz dla wszystkich dostępnych architektur
Architektura Rozmiar pakietu Rozmiar po instalacji Pliki
amd64 234,6 KiB2 097,0 KiB [lista plików]
arm64 233,8 KiB2 153,0 KiB [lista plików]
armel 232,3 KiB2 088,0 KiB [lista plików]
armhf 231,9 KiB2 072,0 KiB [lista plików]
i386 237,2 KiB2 096,0 KiB [lista plików]
mips64el 234,9 KiB2 161,0 KiB [lista plików]
mipsel 234,7 KiB2 158,0 KiB [lista plików]
ppc64el 237,3 KiB2 153,0 KiB [lista plików]
s390x 234,0 KiB2 101,0 KiB [lista plików]