Boost C++ Libraries 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.

Using WinFiber-API

Because the TIB (thread information block) is not fully described in the MSDN, it might be possible that not all required TIB-parts are swapped. With compiler flag BOOST_USE_WINFIBERS execution_context uses internally the Windows Fiber API.

[Note] Note

The first call of execution_context::operator() converts the thread into a Windows fiber by invoking ConvertThreadToFiber(). If desired, ConvertFiberToThread() has to be called by the user explicitly in order to release resources allocated by ConvertThreadToFiber() (e.g. after using boost.context).