开发者

cygwin support for ucontext.h user context switching

开发者 https://www.devze.com 2022-12-25 01:12 出处:网络
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

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

精彩评论

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