Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
Next

Chapter 1. Coroutine2

Oliver Kowalke

Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Table of Contents

Overview
Introduction
Motivation
Coroutine
Asymmetric coroutine
Class coroutine<>::pull_type
Class coroutine<>::push_type
Implementations: fcontext_t, ucontext_t and WinFiber
Stack allocation
Class protected_fixedsize
Class pooled_fixedsize_stack
Class fixedsize_stack
Class segmented_stack
Class stack_traits
Class stack_context
Support for valgrind
Support for sanitizers
Performance
Architectures
Acknowledgments

Next