Plan on testing parity between the threading modules

This commit is contained in:
2023-04-20 23:23:51 -04:00
parent c65b850529
commit 8e6d174f20
4 changed files with 7 additions and 2 deletions
+2
View File
@@ -50,6 +50,7 @@ function multi:newSystemThreadedQueue(name)
GLOBAL[name or "_"] = c
return c
end
function multi:newSystemThreadedTable(name)
local c = {}
function c:init()
@@ -68,6 +69,7 @@ if not setfenv then
end
end
end
function multi:newSystemThreadedJobQueue(n)
local c = {}
c.cores = n or THREAD.getCores()*2