Context 终于进 boost 了

Version 1.51.0

New Libraries: Context

Boost.Context is a foundational library that provides a sort of cooperative multitasking on a single thread. By providing an abstraction of the current execution state in the current thread, including the stack (with local variables) and stack pointer, all registers and CPU flags, and the instruction pointer, afcontext_t instance represents a specific point in the application's execution path. This is useful for building higher-level abstractions, like coroutines,cooperative threads (userland threads) or an aquivalent to C# keyword yield in C++.



posted on 2012-09-04 09:55  能发波  阅读(238)  评论(0编辑  收藏  举报

导航