Skip to content
Sections
>> Trisquel >> Пакети >> etiona >> libs >> libboost-fiber1.65.1
etiona  ]
[ Източник: boost1.65.1  ]

Пакет: libboost-fiber1.65.1 (1.65.1+dfsg-0ubuntu5)

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.65.1

  • зависимости
  • препоръчани
  • предложени
  • dep: libboost-context1.65.1
    provides a sort of cooperative multitasking on a single thread
  • dep: libboost-filesystem1.65.1
    filesystem operations (portable paths, iteration over directories, etc) in C++
  • dep: libboost-system1.65.1
    Operating system (e.g. diagnostics support) library
  • dep: libc6 (>= 2.14) [amd64]
    GNU C Library: Shared libraries
    също и виртуален пакет, предлаган от libc6-udeb
    dep: libc6 (>= 2.4) [i386]
  • dep: libgcc1 (>= 1:3.0) [amd64]
    GCC support library
    dep: libgcc1 (>= 1:4.2) [i386]
  • dep: libstdc++6 (>= 5.2)
    GNU Standard C++ Library v3

Изтегляне на libboost-fiber1.65.1

Изтегляне за всички налични архитектури
Архитектура Големина на пакета Големина след инсталиране Файлове
amd64 105,5 кБ394 кБ [списък на файловете]
i386 114,2 кБ388 кБ [списък на файловете]