coroutine

(redirected from Cothread)

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.