History | View | Annotate | Download (9.2 kB)
coroutine: adding sigaltstack method (.c source)
This file is based in both coroutine-ucontext.c andpth_mctx.c (from the GNU Portable Threads library).
The mechanism used to change stacks is the sigaltstackfunction (variant 2 of the pth library).
v2: Some corrections. Moving global variables into...