Fixed some bugs

This commit is contained in:
2023-05-30 23:50:36 -04:00
parent 03ecb47f6f
commit d520e0a93a
6 changed files with 32 additions and 33 deletions
+2 -2
View File
@@ -167,12 +167,12 @@ function multi:newSystemThreadedJobQueue(n)
return queueJob:pop()
end)
idle = clock()
thread:newThread("test",function()
thread:newThread("JobQueue-Spawn",function()
local name = table.remove(dat, 1)
local jid = table.remove(dat, 1)
local args = table.remove(dat, 1)
queueReturn:push{jid, funcs[name](multi.unpack(args)), queue}
end)
end).OnError(multi.error)
end
end).OnError(print)
thread:newThread("DoAllHandler",function()
+1 -1
View File
@@ -132,7 +132,7 @@ function multi.InitSystemThreadErrorHandler()
thread.yield()
_,data = __ConsoleLinda:receive(0, "Q")
if data then
print(data[1])
--print(data[1])
end
for i = #threads, 1, -1 do
temp = threads[i]