coroutine

[计] 协同程序, 联立程序, 共行程序

发音

US

词形变化

coroutines 复数 coroutines

别名

co-routine

释义与例句

n.
  1. 1.

    A piece of code that performs a task, and that can be passed new input and return output more than once.

    计算机 工程 数学

    Although a powerful tool, coroutines can be hard to understand due to the way data can flow back and forth between sections of the code.

词源

From co- + routine, coined by Melvin Conway in 1958.

来源:wiktionary