摘要: -- 测试协程 local thread = require('thread') --处理协程的错误 local thread_id = thread.create(function() nLog('2再运行协程') nLog('这里触发了就会继续切换到主线程 不会因为延迟堵塞') msleep(3 阅读全文
posted @ 2022-08-14 10:14 newmiracle宇宙 阅读(214) 评论(0) 推荐(0) 编辑