Fixing stuff
This commit is contained in:
parent
548de44c9e
commit
087736c947
13
test.lua
13
test.lua
@ -2,6 +2,19 @@ package.path="?.lua;?/init.lua;?.lua;?/?/init.lua;"..package.path
|
||||
multi,thread = require("multi"):init()
|
||||
GLOBAL,THREAD = require("multi.integration.pesudoManager"):init()
|
||||
|
||||
multi:newThread(function()
|
||||
while true do
|
||||
thread.sleep(1)
|
||||
print("hello!")
|
||||
end
|
||||
end)
|
||||
multi:newThread(function()
|
||||
while true do
|
||||
thread.sleep(1)
|
||||
print("hello!")
|
||||
--prrint("hehe")
|
||||
end
|
||||
end)
|
||||
|
||||
|
||||
multi:mainloop({print=true})
|
||||
Loading…
x
Reference in New Issue
Block a user