Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
lain.church
Ayuda
Registro
Iniciar sesión
izaya
/
OC-PsychOS2
réplica de
https://git.shadowkat.net/izaya/OC-PsychOS2.git
Seguir
1
Destacar
1
Fork
0
Código
Incidencias
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
add os.getTimeout() function to ask how long the scheduler waits between running processes
master
XeonSquared
hace 4 años
padre
4e64a55169
commit
87596c8834
Se han
modificado 1 ficheros
con
3 adiciones
y
0 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+3
-0
module/sched.lua
+ 3
- 0
module/sched.lua
Ver fichero
@@ -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
Escribir
Vista previa
Cargando…
Cancelar
Guardar