|
See also PuTTY author Simon Tatham's C implementation of coroutines: <http://www.chiark.greenend.org.uk/~sgtatham/coroutines.html> This page also includes a nice explanation of what coroutines are and why they're useful (with an example of the producer-consumer problem). -- Aaron