removed extra __cores in lanes/pseudo

This commit is contained in:
2023-04-29 13:47:25 -04:00
parent 9e1d31fc2a
commit 8cf047d713
3 changed files with 26 additions and 12 deletions
-6
View File
@@ -58,12 +58,6 @@ local function INIT(__GlobalLinda, __SleepingLinda, __StatusLinda, __Console)
return __GlobalLinda:get(name)
end
if getOS() == "windows" then
THREAD.__CORES = tonumber(os.getenv("NUMBER_OF_PROCESSORS"))
else
THREAD.__CORES = tonumber(io.popen("nproc --all"):read("*n"))
end
function THREAD.getCores()
return THREAD.__CORES
end