coroutine

(redirected from Co-routines)
Also found in: 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 ?
Beazley has been a Python programmer since 1996, and he describes advanced features such as generators, co-routines, closures, metaclasses and decorators while providing coverage of library modules for threads, subprocesses and multi-processing.
They cover using the interpreter, extending Lua with functions such as return values, working with tables, using strings and modules, handling events naturally with co-routines, developing bytecode, collecting garbage, implementing tables and strings, working with the debug library, and exploring libraries for such elements as the core, co-routines, packages, strings, tables, math, input/output and the community.