Return Graph varies from Call Graph?

Karl Heuer karl at haddock.ima.isc.com
Mon Jun 11 06:16:50 AEST 1990


In article <1990Jun8.121558.6976 at msuinfo.cl.msu.edu> reid at cpswh.uucp (Dr Richard J. Reid) writes:
>>> Do you have any suggestions about how to vary the
>>> return graph of function invocation from the call graph?
>
>Why example:  Implementation of Co-routining.

I've written C code containing coroutines.  Rather than trying to muck around
with the stack, which is clearly unportable, I just maintained state
information in static variables and used goto.

Karl W. Z. Heuer (karl at ima.ima.isc.com or harvard!ima!karl), The Walking Lint



More information about the Comp.lang.c mailing list