德瑞克的技術大小事
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
,
iterators
,
infinite lists
and
pipes
.
Reference:
1. coroutine wiki,
http://en.wikipedia.org/wiki/Coroutine
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言