summaryrefslogtreecommitdiffstats
path: root/include/alarm.h
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-09 22:52:31 +0000
committer/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-09 22:52:31 +0000
commit920b90f2b03c60b6940e83cdce8c4b4bfbbc4268 (patch)
tree1dc9fe70ee9304ea0ca72ceb6a2a07537d302cb8 /include/alarm.h
parent6023de67c84e531939b77454783835c65f694bff (diff)
wake up the daemon iff there are real events to handle instead of polling (Based on comments from Max Kellerman)
Diffstat (limited to 'include/alarm.h')
-rw-r--r--include/alarm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/alarm.h b/include/alarm.h
index 93e6482..82a1612 100644
--- a/include/alarm.h
+++ b/include/alarm.h
@@ -5,7 +5,7 @@
struct alarm_list {
struct list_head head;
- unsigned long expires;
+ struct timeval tv;
void *data;
void (*function)(struct alarm_list *a, void *data);
};