H2NCH2COOH··on Implementing simple cooperative threads in CThis kind of context switching can be more easily achieved by using the old SysV APIs when working under *nix: http://man7.org/linux/man-pages/man3/makecontext.3.html