An example of the first approach is the coroutine
part of Sun's C ++ library [Sun 1995].
computation may be viewed as an extreme form of concurrency in which only one processing unit is available.
The third form describes subroutine and coroutine
Since JSD targets implementations in languages that do not support concurrent tasks, the processes are instead mapped onto coroutines
managed by a tailor-made scheduler.
This approach could also be though of as imposing a pipe or coroutine
structure on the program, which is a possibility not explicitly considered by Clancy's heuristic, or for that matter by top-down decomposition.
McIlroy's plumbing is my favorite, since the natural idiom for transforming a stream of data from one type to another is a coroutine
rather than a subroutine, and UNIX filters and pipes do that perfectly.
To describe the cutscene script the team decided to use coroutines
inside other coroutines
1985) "The coroutines
of Hanoi, SIGPLAN Notices, Vol.
For Kahn and MacQueen's streams, data circulate among coroutines