This website works better with JavaScript.
Почетна
Преглед
lain.church
Помоћ
Регистрација
Пријавите Се
izaya
/
OC-PsychOS2
огледало од
https://git.shadowkat.net/izaya/OC-PsychOS2.git
Прати
1
Волим
1
Креирај огранак
0
Код
Дискусије
0
Издања
0
Вики
Activity
Преглед изворни кода
add os.getTimeout() function to ask how long the scheduler waits between running processes
master
XeonSquared
пре 4 година
родитељ
4e64a55169
комит
87596c8834
1 измењених фајлова
са
3 додато
и
0 уклоњено
Подељен поглед
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
module/sched.lua
+ 3
- 0
module/sched.lua
Прегледај датотеку
@@ -58,6 +58,9 @@ function os.getenv(k) -- gets a process' *k* environment variable
return tTasks[cPid].e[k]
end
end
function os.getTimeout()
return nTimeout
end
function os.setTimeout(n)
if type(n) == "number" and n >= 0 then
nTimeout = n
Write
Preview
Loading…
Откажи
Сачувај