开发者

cygwin support for ucontext.h user context switching

It appears that cygwin doesn't support user context switching (supported by ucontext.h).

Given I need to developed a user-context switching application开发者_如何学Python under cygwin, is there any solution for this?


You can probably write your own implementation, wrapping around the Fiber API. http://msdn.microsoft.com/en-us/library/ms682661(VS.85).aspx


In C++ you could try the Context from Boost, it has a similar interface.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜