Il sito funziona meglio con JavaScript.
Home
Esplora
lain.church
Aiuto
Registrati
Accedi
izaya
/
OC-PsychOS2
mirror da
https://git.shadowkat.net/izaya/OC-PsychOS2.git
Segui
1
Vota
1
Forka
0
Codice
Problemi
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
add os.getTimeout() function to ask how long the scheduler waits between running processes
master
XeonSquared
4 anni fa
parent
4e64a55169
commit
87596c8834
1 ha cambiato i file
con
3 aggiunte
e
0 eliminazioni
Visualizzazione separata
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
module/sched.lua
+ 3
- 0
module/sched.lua
Vedi File
@@ -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…
Annulla
Salva