change source dir

This commit is contained in:
云风
2012-08-09 15:36:56 +08:00
parent d23c4aa905
commit eed9c42fd4
46 changed files with 284 additions and 118 deletions

13
service/testtimer.lua Normal file
View File

@@ -0,0 +1,13 @@
local skynet = require "skynet"
-- register a dummy callback function
skynet.dispatch()
skynet.start(function()
for i = 1, 10 do
print(i)
skynet.sleep(100)
end
skynet.exit()
print("Test timer exit")
end)