mirror of
https://git.shadowkat.net/izaya/OC-PsychOS2.git
synced 2024-11-25 20:48:43 -05:00
added the ability for software to change the computer.pullSignal timeout
This commit is contained in:
parent
23173506b9
commit
0cdd70e917
@ -58,4 +58,11 @@ function os.getenv(k) -- gets a process' *k* environment variable
|
|||||||
return tTasks[cPid].e[k]
|
return tTasks[cPid].e[k]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
function os.setTimeout(n)
|
||||||
|
if type(n) == "number" and n >= 0 then
|
||||||
|
nTimeout = n
|
||||||
|
return true
|
||||||
|
end
|
||||||
|
return false
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user