A demo of user-space thread (fiber) usage.
For State University of New York at Binghamton CS551 System Programming, Fall 2014
Core codes (context switch) are from paper:
Engelschall, Ralf S. "Portable multithreading: The signal stack trick for user-space thread creation." Proceedings > of the annual conference on USENIX Annual Technical Conference. USENIX Ass ociation, 2000.
Public Domain