coroutine


Also found in: Dictionary, Wikipedia.

coroutine

[′kō·rü‚tēn]
(computer science)
A program module for which the lifetime of a particular activation record is independent of the time when control enters or leaves the module, and in which the activation record maintains a local instruction counter so that, whenever control enters the module, execution begins at the point where it stopped when control last left that particular instance of execution.
References in periodicals archive ?
An example of the first approach is the coroutine part of Sun's C ++ library [Sun 1995].
Coroutine 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 returns.
CoSORT features several end-user and programmer interfaces to a parallel processing sort algorithm in a coroutine architecture.
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.
The package contains a variety of user and programmer interfaces to a parallel processing sort algorithm in a coroutine architecture.
To describe the cutscene script the team decided to use coroutines inside other coroutines.
For Kahn and MacQueen's streams, data circulate among coroutines.