| Home | Libraries | People | FAQ | More

## Context classes

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.