Coroutines in C
chiark.greenend.org.uk
chiark.greenend.org.uk
https://en.m.wikipedia.org/wiki/Jackson_structured_programmi...
The wiki article just hints about using coroutines under certain circumstances; so called “structure clash”. The program inversion technique is fully described in Jackson’s book Principles of Program Design, 1975.