kern
annotate src/timer.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 |
rev | line source |
---|---|
nuclear@33 | 1 #ifndef _TIMER_H_ |
nuclear@33 | 2 #define _TIMER_H_ |
nuclear@33 | 3 |
nuclear@33 | 4 unsigned long nticks; |
nuclear@33 | 5 |
nuclear@33 | 6 void init_timer(void); |
nuclear@33 | 7 |
nuclear@56 | 8 void sleep(unsigned long msec); |
nuclear@51 | 9 |
nuclear@33 | 10 #endif /* _TIMER_H_ */ |