Coroutines in one page of C

Yossi Kreinin

A coroutine is a function that you can jump back into after returning from it - and it remembers where it was in the code, and all the variables. This is very useful at times. One use is generating a sequence of values. Here's how you can...


There are no comments yet!

Sorry, you need javascript enabled to post any comments.