ef icon indicating copy to clipboard operation
ef copied to clipboard

为什么在 fiber 中有 yield 函数, 在 coroutine 中没有呢

Open Luyakus opened this issue 1 year ago • 1 comments

Luyakus avatar Apr 27 '23 09:04 Luyakus

fiber是最底层抽象,实现用户态的“纤程”,提供切换api。coroutine在fiber之上,主要是基于io事件驱动,暂不支持用户代码主动调度。

fengyoulin avatar May 01 '23 02:05 fengyoulin