...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
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.