|
|
Coroutines |
A function F1 that calls a function F2 are not symmetric - If F2 is called several times it restarts every time Two coroutines C1 and C2 cooperate in a fully symmetric way - by resuming each other. |
![]() | The flow of control among functions (F1 calls F2) left, and among coroutines (C1 and C2 resume each other). |