Difference between revisions of "Coroutine"

From PKC
Jump to navigation Jump to search
(Created page with "{{WikiEntry|key=Coroutine|qCode=1339231)}}")
 
 
Line 1: Line 1:
{{WikiEntry|key=Coroutine|qCode=1339231)}}
{{WikiEntry|key=Coroutine|qCode=1339231}} is a kind of computer program components that generalize subroutines for non-preemptive multitasking, by allowing execution to be suspended and resumed. Coroutines are well-suited for implementing familiar program components such as cooperative tasks, exceptions, event loops, iterators, infinite lists and pipes.

Latest revision as of 03:06, 17 June 2022

Coroutine(Q1339231) is a kind of computer program components that generalize subroutines for non-preemptive multitasking, by allowing execution to be suspended and resumed. Coroutines are well-suited for implementing familiar program components such as cooperative tasks, exceptions, event loops, iterators, infinite lists and pipes.