首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 操作系统 >

Context 总算进 boost 了

2012-09-18 
Context 终于进 boost 了Version 1.51.0New Libraries: ContextBoost.Contextis a foundational library t

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



热点排行