secondary_thread test
This commit is contained in:
11
secondary_thread.lua
Normal file
11
secondary_thread.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
done = false
|
||||
|
||||
threads.run(function()
|
||||
for i = 1, 100000 do
|
||||
print(i)
|
||||
end
|
||||
done = true
|
||||
end)
|
||||
|
||||
while done == false do
|
||||
end
|
||||
Reference in New Issue
Block a user