You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
407 B

6 years ago
/*General purpose timer */
6 years ago
extern unsigned long clktime; /* current time in secs since boot */
extern unsigned long count1000; /* ms since last clock tick */
extern qid16 sleepq; /* queue for sleeping processes */
extern int32 slnonempty; /* nonzero if sleepq is nonempty */
extern int32 *sltop; /* ptr to key in first item on sleepq */
6 years ago
extern uint32 preempt; /* preemption counter */