8000 minix/minix/kernel/system.c at v3.3.0 · wisniak199/minix · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
678 lines (590 loc) · 23.8 KB

system.c

File metadata and controls

678 lines (590 loc) · 23.8 KB
if (quantum != -1) {
p->p_quantum_size_ms = quantum;
p->p_cpu_time_left = ms_2_cpu_time(quantum);
}
#ifdef CONFIG_SMP
if (cpu != -1)
p->p_cpu = cpu;
#endif
/* Clear the scheduling bit and enqueue the process */
RTS_UNSET(p, RTS_NO_QUANTUM);
return OK;
}
0