kern
diff src/timer.h @ 56:0be4615594df
finally, runqueues, blocking, waking up, idle loop etc, all seem to work fine
on a single user process... Next up: try forking another one :)
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 15 Aug 2011 06:17:58 +0300 |
parents | b1e8c8251884 |
children | 3941e82b07f2 |
line diff
1.1 --- a/src/timer.h Mon Aug 15 04:03:39 2011 +0300 1.2 +++ b/src/timer.h Mon Aug 15 06:17:58 2011 +0300 1.3 @@ -1,12 +1,10 @@ 1.4 #ifndef _TIMER_H_ 1.5 #define _TIMER_H_ 1.6 1.7 -typedef void (*timer_func_t)(void*); 1.8 - 1.9 unsigned long nticks; 1.10 1.11 void init_timer(void); 1.12 1.13 -int start_timer(unsigned long msec, timer_func_t cbfunc, void *cbarg); 1.14 +void sleep(unsigned long msec); 1.15 1.16 #endif /* _TIMER_H_ */