2013年5月19日 星期日

What's co-routine

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,iteratorsinfinite lists and pipes.


Reference:

1. coroutine wiki, http://en.wikipedia.org/wiki/Coroutine

沒有留言:

張貼留言