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.
精彩评论