mirror of
https://github.com/rayaman/multi.git
synced 2026-09-05 07:27:35 -04:00
Plan on testing parity between the threading modules
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user