Alle Optionen
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Quellcode: boost1.74  ]

Paket: libboost-fiber1.74-dev (1.74.0-9)

Links für libboost-fiber1.74-dev

Screenshot

Debian-Ressourcen:

Quellcode-Paket boost1.74 herunterladen:

Betreuer:

Externe Ressourcen:

Ähnliche Pakete:

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.

Markierungen: Software-Entwicklung: Bibliotheken, Rolle: Entwicklungs-Bibliothek

Andere Pakete mit Bezug zu libboost-fiber1.74-dev

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • erweitert

libboost-fiber1.74-dev herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
amd64 268,9 kB2.302,0 kB [Liste der Dateien]
arm64 270,0 kB2.315,0 kB [Liste der Dateien]
armel 270,5 kB2.276,0 kB [Liste der Dateien]
armhf 270,2 kB2.256,0 kB [Liste der Dateien]
i386 272,3 kB2.261,0 kB [Liste der Dateien]
mips64el 274,3 kB2.363,0 kB [Liste der Dateien]
mipsel 272,5 kB2.275,0 kB [Liste der Dateien]
ppc64el 273,3 kB2.339,0 kB [Liste der Dateien]
s390x 268,8 kB2.317,0 kB [Liste der Dateien]