kern

view src/sched.h @ 71:c7bd6ec7b946

changed test_proc to modify memory after the fork in order to try out copy-on-write, by pushing the result of getpid on the stack.
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 13 Oct 2011 05:22:35 +0300
parents b1e8c8251884
children 3941e82b07f2
line source
1 #ifndef SCHED_H_
2 #define SCHED_H_
4 #include "proc.h"
6 void schedule(void);
8 void add_proc(int pid);
10 void wait(void *wait_addr);
11 void wakeup(void *wait_addr);
13 #endif /* SCHED_H_ */