1 2 3 4 5 6 7 8 9 10 11 12 13 14
#ifndef _JOVE_PROC_SCHEDULER_H #define _JOVE_PROC_SCHEDULER_H 1 #include "process.h" void scheduler_init(jove_owned_obj_t *pcb_obj, void *process_main); void scheduler_switch(void *this_sp, void *other_sp); void _scheduler_switch_pcb_arch(pcb_t *target); int scheduler_yield(pid_t target); #endif