会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
zReachzer
博客园
首页
新随笔
联系
订阅
管理
2014年10月23日
lua-coroutine
摘要: 两个协程,通过resume/yield函数参数(或者return语句)向对方传送数据,通过resume/yield函数返回值来从对方处获取传送数据 function coroutine_func(resume1.Args)yield1 return resume2.Argsyield2 return...
阅读全文
posted @ 2014-10-23 16:31 zReachzer
阅读(152)
评论(0)
推荐(0)
编辑