Use Win32 fibers on Cygwin.
While swapcontext() exists on Cygwin, it seems that throwing an exception in a stack other than the main stack leads to a hang. But the Win32 fiber API seems to work fine.
Showing
Please
register
or
sign in
to comment