summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-11-20 20:24:27 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-11-20 20:24:27 +0000
commitaaa2f7d8d5d5aad4b25a945c4a6d685b2d9dfc08 (patch)
treedb2d9fbfa531244ef77e5f7226c44b474de15d90
parent905da0002edd0f96957a06cdc6049032906bcd3b (diff)
entered into RCS
-rw-r--r--pfinet/linux/timer.h12
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);