Parcourir la source

added the ability for software to change the computer.pullSignal timeout

pull/1/head
XeonSquared il y a 4 ans
Parent
révision
0cdd70e917
1 fichiers modifiés avec 7 ajouts et 0 suppressions
  1. +7
    -0
      module/sched.lua

+ 7
- 0
module/sched.lua Voir le fichier

@@ -58,4 +58,11 @@ function os.getenv(k) -- gets a process' *k* environment variable
return tTasks[cPid].e[k]
end
end
function os.setTimeout(n)
if type(n) == "number" and n >= 0 then
nTimeout = n
return true
end
return false
end
end

Chargement…
Annuler
Enregistrer