
2010/7/28 Oliver Kowalke <k-oli@gmx.de>
downloadable from boost vault:
boost.context implements the POSIX ucontext functionality (makecontext()/swapcontext()) and WIN32 Fiber stuff.
For performance reasons it provides assembler - 8x-10x faster than POSIX swapcontext() (because no sys call is involved). Please note that POSIX ucontext is now marked as deprecated by the new POSIX standard and may not be implemented for newer platforms (for instance on ARM makecontext()/swapcontext() is not provided by glibc).
boost.context is the basis of boost.fiber. Phil Endecott requested to move this code from boost.fiber into a new lib in order to be reused by libs implementing some kind of cooperative scheduling (for instance boost.coroutine/boost.fiber).
Oliver
Hi, this seems a very usefull piece of code. How does it behave under c++ exceptions? What about windows 64 bit implementation, only 32 bit seems implemented ?