summaryrefslogtreecommitdiffstats
path: root/proc/scheduler.h
diff options
context:
space:
mode:
Diffstat (limited to 'proc/scheduler.h')
-rw-r--r--proc/scheduler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/proc/scheduler.h b/proc/scheduler.h
index 964f2c0..9b11688 100644
--- a/proc/scheduler.h
+++ b/proc/scheduler.h
@@ -11,7 +11,10 @@ void scheduler_restorestate(void);
void scheduler_switch(void *this_sp, void *other_sp, void *other_cr3);
void _scheduler_switch_pcb_arch(pcb_t *target);
+int scheduler_make_ready(jove_owned_obj_t *pcb_obj);
int scheduler_yield(pid_t target);
+int scheduler_stop(jove_owned_obj_t *pcb_obj, int stop_code);
+
void scheduler_tick(void);
void scheduler_block_for_mail(struct pcb_header *pcb, size_t timeout, pid_t yield_target);