读书人

Context 总算进 boost 了

发布时间: 2012-09-18 16:21:42 作者: rapoo

Context 终于进 boost 了
Version 1.51.0

New Libraries: Context

Boost.Contextis 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++.



读书人网 >操作系统

热点推荐