From aaa2f7d8d5d5aad4b25a945c4a6d685b2d9dfc08 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Mon, 20 Nov 1995 20:24:27 +0000 Subject: entered into RCS --- pfinet/linux/timer.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'pfinet/linux') diff --git a/pfinet/linux/timer.h b/pfinet/linux/timer.h index bbab7937..2458746e 100644 --- a/pfinet/linux/timer.h +++ b/pfinet/linux/timer.h @@ -3,10 +3,18 @@ #include +enum tstate +{ + TIMER_INACTIVE, + TIMER_STARTING, + TIMER_STARTED, + TIMER_EXPIRED, + TIMER_FUNCTION_RUNNING, +}; + struct timer_list { - thread_t thread; - int foobiebletch; + struct timer_list *next, **prevp; unsigned long expires; unsigned long data; void (*function)(unsigned long); -- cgit v1.2.3