会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
节
春
度
欢
rhyme
Powered by
博客园
博客园
|
首页
|
新随笔
|
联系
|
订阅
|
管理
2020年11月30日
协程的原理以及与线程的区别
摘要: 1 什么是协程? 协程(coroutine)是一种程序运行的方式,即在单线程里多个函数并发地执行. A coroutine is a function that can suspend its execution (yield) until the given given YieldInstruct
阅读全文
posted @ 2020-11-30 20:06 rhyme
阅读(8895)
评论(2)
推荐(2)
编辑
TOP