Coroutine - Wikipedia, the free encyclopedia

CentralNotice Coroutine From Wikipedia, the free encyclopedia Jump to: navigation , search Coroutines are computer program components that generalize subroutines to allow multiple entry points for suspending and resuming execution at certain locations. Coroutines are well-suited for implementing more familiar program components such as cooperative tasks , exceptions , event loop , iterators , infinite lists and pipes . The term coroutine was coined by Melvin Conway in a 1963 paper. [ 1 ] 1 Comparison with subroutines 2 Comparison with generators 3 Common uses 3.1 Comparison with mutual recursion 4 Programming languages with native support 5 Implementations 6 Alternatives 6.1 Implementation in the .NET Framework as fibers 6.2 Implementation in Mono 6.3 Implementations for Java 6.4 Implementations for C 6.5 Implementations for C++ 6.6 Implementations f...

Linked on 2014-05-16 20:24:45 | Similar Links