Package
libboost-coroutine1.58.0Version
1.58.0+dfsg-5ubuntu3.1Priority
optionalSection
universe/libsSource
boost1.58Origin
UbuntuMaintainer
Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>Original Maintainer
Debian Boost Team <pkg-boost-devel@lists.alioth.debian.org>Bugs
https://bugs.launchpad.net/ubuntu/+filebugInstalled Size
104 kBDepends
libboost-context1.58.0, libboost-thread1.58.0, libc6 (>= 2.14), libgcc1 (>= 1:3.0), libstdc++6 (>= 5.2)Homepage
http://www.boost.org/libs/coroutine/Download Size
20.2 kBAPT Manual Installed
noAPT Sources
http://gb.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 PackagesDescription
provides a sort of cooperative multitasking on a single threadThis package forms part of the Boost C++ Libraries collection.
.
Boost.Coroutine provides templates for generalized subroutines which
allow multiple entry points for suspending and resuming execution at
certain locations. It preserves the local state of execution and
allows re-entering subroutines more than once (useful if state must
be kept across function calls).
.
Coroutines can be viewed as a language-level construct providing a
special kind of control flow.
.
In contrast to threads, which are pre-emptive, coroutine switches are
cooperative (programmer controls when a switch will happen). The
kernel is not involved in the coroutine switches.
.
The implementation uses Boost.Context for context switching.