Преглед на файлове

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

pull/1/head
XeonSquared преди 4 години
родител
ревизия
0cdd70e917
променени са 1 файла, в които са добавени 7 реда и са изтрити 0 реда
  1. +7
    -0
      module/sched.lua

+ 7
- 0
module/sched.lua Целия файл

@@ -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

Loading…
Отказ
Запис