add snax.self and snax.exit

This commit is contained in:
Cloud Wu
2014-11-14 15:11:05 +08:00
parent 8e4a175155
commit b9e06dc065
3 changed files with 14 additions and 1 deletions

View File

@@ -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)