views:

78

answers:

2
+3  Q: 

what is coroutine?

Possible Duplicate:
What is coroutine?

coroutine appears in this nodejs thread.

http://groups.google.com/group/nodejs/msg/df199d233ff17efa

+3  A: 

From Wikipedia:

In computer science, coroutines are 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.

Samuel Carrijo
+4  A: 

Coroutines are 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.

Source

Radian
haha, too late =)
Samuel Carrijo
LOL, Samuel -)
mjv
@mjv So does the guy who answered the duplicate =)
Samuel Carrijo