This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local skynet = require "skynet" | |
local coroutine = coroutine | |
local xpcall = xpcall | |
local traceback = debug.traceback | |
local table = table | |
function skynet.queue() | |
local current_thread | |
local ref = 0 | |
local thread_queue = {} |