浏览代码

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

正在加载...
取消
保存