Context 终于进 boost 了

Version  1.51.0

New Libraries: 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++.

该日志由 csdn-whinah 于2012年09月04日发表在C++分类下, 你可以发表评论,并在保留原文地址及作者的情况下引用到你的网站或博客。
转载请注明: Context 终于进 boost 了


2 个回复

  1. wangeen说道:

    boost 不是已经有Coroutines了,再有这个不重复吗

  2. whinah说道:

    Coroutine 当初只是一个提案,审核没通过


您必须 登录 后才能发表评论。