local coroutine_pool = {}
local coroutine_yield = coroutine.yield
local function co_create(f)
local co = table.remove(coroutine_pool)
if co == nil then
co = coroutine.create(function(...)
f(...)
while true do
f =
skynet之协程池(co_create)
最新推荐文章于 2025-06-19 11:44:25 发布