mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 20:23:06 +00:00
add snax.self and snax.exit
This commit is contained in:
@@ -31,6 +31,6 @@ end
|
||||
print(string.format("%s\tcount:%d time:%f", name, v.count, v.time))
|
||||
end
|
||||
|
||||
print(snax.kill(ps,"exit"))
|
||||
print(ps.post.exit("exit")) -- == snax.kill(ps, "exit")
|
||||
skynet.exit()
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user