协同程序
-
Lua编程示例(七):协同程序基础逻辑
具体脚本如下:co=coroutine.create(function() print("hi") end) print(coroutine.status(co)) coroutine.resume(co) print(coroutine.status(co...
kavin 2018.05.19 2254浏览 0
具体脚本如下:co=coroutine.create(function() print("hi") end) print(coroutine.status(co)) coroutine.resume(co) print(coroutine.status(co...
kavin 2018.05.19 2254浏览 0