mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 12:43:09 +00:00
skynet.blockcall concurrent bugfix
This commit is contained in:
@@ -202,8 +202,8 @@ end
|
||||
|
||||
function skynet.blockcall(addr, typename , ...)
|
||||
local p = proto[typename]
|
||||
c.command("LOCK")
|
||||
local session = c.send(addr, p.id , nil , p.pack(...))
|
||||
c.command("LOCK",tostring(session))
|
||||
return p.unpack(coroutine.yield("CALL", session))
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user