* System scheduler: pass CPU control to the next process in
* the ready queue.
*/
-static void proc_schedule(void)
+static void coop_schedule(void)
{
cpu_flags_t flags;
IRQ_RESTORE(flags);
}
-void proc_switch(void)
+void coop_switch(void)
{
/* Remember old process to save its context later */
Process * const old_process = current_process;
- proc_schedule();
+ coop_schedule();
/*
* Optimization: don't switch contexts when the active
/**
* Co-operative context switch
*/
-void proc_yield(void)
+void coop_yield(void)
{
ATOMIC(SCHED_ENQUEUE(current_process));
proc_switch();