diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-11-20 20:24:27 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-11-20 20:24:27 +0000 |
commit | aaa2f7d8d5d5aad4b25a945c4a6d685b2d9dfc08 (patch) | |
tree | db2d9fbfa531244ef77e5f7226c44b474de15d90 /pfinet | |
parent | 905da0002edd0f96957a06cdc6049032906bcd3b (diff) |
entered into RCS
Diffstat (limited to 'pfinet')
-rw-r--r-- | pfinet/linux/timer.h | 12 |
1 files changed, 10 insertions, 2 deletions
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 <cthreads.h> +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); |