Coroutines in C