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 for the latest Boost documentation.
PrevUpHomeNext

Context classes

Class execution_context
Class captured_context
Stack allocation
Class protected_fixedsize
Class fixedsize_stack
Class segmented_stack
Class stack_traits
Class stack_context
Support for valgrind

Boost.Context provides two classes encapsulating fcontext_t and related functions (jump_fcontext() and make_fcontext()) and stack management - execution_context and captured_context. execution_context and captured_context represent one thread-of-execution. A thread-of-execution is a single flow of control within a programm. Each class maintains a control structure, containing the preserved registers, the stack and the stack allocator. The main difference between execution_context and captured_context consists in maintaining context' control structure.


PrevUpHomeNext