Este site funciona melhor com JavaScript.
Página inicial
Explorar
lain.church
Ajuda
Cadastrar
Acessar
izaya
/
OC-PsychOS2
espelhamento de
https://git.shadowkat.net/izaya/OC-PsychOS2.git
Observar
1
Favorito
1
Fork
0
Código
Issues
0
Versões
0
Wiki
Atividade
Ver código fonte
add os.getTimeout() function to ask how long the scheduler waits between running processes
master
XeonSquared
4 anos atrás
pai
4e64a55169
commit
87596c8834
1 arquivos alterados
com
3 adições
e
0 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+3
-0
module/sched.lua
+ 3
- 0
module/sched.lua
Ver arquivo
@@ -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
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar