Updated changes.md and fixed some bugs

This commit is contained in:
2023-11-02 23:59:34 -04:00
parent 0af807a930
commit 30db370cc9
3 changed files with 23 additions and 3 deletions
+10 -3
View File
@@ -98,11 +98,18 @@ multi, thread = require("multi"):init{print=true,warn=true,error=true,debugging=
-- multi:newTLoop(func, 1)
-- multi:mainloop()
for i = 1, 100 do
multi:setTaskDelay(.05)
multi:newTask(function()
for i = 1, 100 do
multi:newTask(function()
print("Task "..i)
end)
end
multi:newTask(function()
print("Task "..i)
multi:Stop()
end)
end
end)
local conn = multi:newConnection()
conn(function() print("Test 1") end)