1
0
Fork 0
arangodb/3rdParty/boost/1.61.0/libs/coroutine2
Wilfried Goesgens 0525ca4d5d Remove the boost documentation.
The wintendo can't stand long filenames in 2016
2016-08-17 10:58:11 +02:00
..
build added libs 2016-08-13 20:11:01 +02:00
example upgraded to boost 1.61.0 2016-08-12 17:17:29 +02:00
meta upgraded to boost 1.61.0 2016-08-12 17:17:29 +02:00
performance upgraded to boost 1.61.0 2016-08-12 17:17:29 +02:00
test upgraded to boost 1.61.0 2016-08-12 17:17:29 +02:00
README.md upgraded to boost 1.61.0 2016-08-12 17:17:29 +02:00
index.html upgraded to boost 1.61.0 2016-08-12 17:17:29 +02:00

README.md

boost.coroutine2

boost.coroutine2 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, coroutines switches are cooperative (programmer controls when a switch will happen). The kernel is not involved in the coroutine switches.

boost.coroutine2 requires C++11!