mirror of
https://github.com/rayaman/multi.git
synced 2026-09-05 07:27:35 -04:00
removed extra __cores in lanes/pseudo
This commit is contained in:
@@ -80,12 +80,6 @@ local function INIT(thread)
|
||||
|
||||
THREAD.pushStatus = thread.pushStatus
|
||||
|
||||
if os.getOS() == "windows" then
|
||||
THREAD.__CORES = tonumber(os.getenv("NUMBER_OF_PROCESSORS"))
|
||||
else
|
||||
THREAD.__CORES = tonumber(io.popen("nproc --all"):read("*n"))
|
||||
end
|
||||
|
||||
function THREAD.kill()
|
||||
error("Thread was killed!")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user