关于coroutine的词汇非常混乱,就连coroutine本身也没有一个唯一的公认定义。the fundamental characteristics of a coroutine (Marlin要求):[1]
- the values of data local to a coroutine persist between successive calls
- the execution of a coroutine is suspended as control leaves it, only to carry on where it left off whe[……]