摘要:
很久没记录笔记了,还是养成不了记录的习惯下面是来自 programming in lua的一个协程的例(生产者与用户的例子)帖代码,慢慢理解-- Programming in Lua Coroutine(协程)--[[coroutine.createcoroutine.resumecoroutine.runningcoroutine.statuscoroutine.wrapcoroutine.yield--]]--管道和过滤--生产者与用户的例子--[[************************************************函数 :send用途 :暂停线程参数 :发送给 阅读全文
posted @ 2014-03-18 11:15
A.Kun
阅读(384)
评论(0)
推荐(0)

浙公网安备 33010602011771号