kern

view src/sched.h @ 54:4eaecb14fe31

bringing the task switching thing into shape with proper per-process kernel stacks and shit
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 14 Aug 2011 16:57:23 +0300
parents
children 88a6c4e192f9
line source
1 #ifndef SCHED_H_
2 #define SCHED_H_
4 #include "proc.h"
6 void schedule(void);
8 int add_proc(int pid, enum proc_state state);
9 int block_proc(int pid);
10 int unblock_proc(int pid);
12 #endif /* SCHED_H_ */