summaryrefslogtreecommitdiff
path: root/ev++.h
diff options
context:
space:
mode:
authorroot <root>2007-11-11 00:05:59 +0000
committerroot <root>2007-11-11 00:05:59 +0000
commit80f561c62ce8d30b87e4298b954ce280c4b5465f (patch)
tree21c8295a55a5656691a88ce6b9996b7c9f91f143 /ev++.h
parentcf2e067e143e40c3b874a16069773fe04d3737bc (diff)
make timers best-effort non-drifting
Diffstat (limited to 'ev++.h')
-rw-r--r--ev++.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/ev++.h b/ev++.h
index 95d0a76..aa46fb4 100644
--- a/ev++.h
+++ b/ev++.h
@@ -46,6 +46,21 @@ namespace ev {
#include "ev.h"
+ enum {
+ UNDEF = EV_UNDEF,
+ NONE = EV_NONE,
+ READ = EV_READ,
+ WRITE = EV_WRITE,
+ TIMEOUT = EV_TIMEOUT,
+ PERIODIC = EV_PERIODIC,
+ SIGNAL = EV_SIGNAL,
+ IDLE = EV_IDLE,
+ CHECK = EV_CHECK,
+ PREPARE = EV_PREPARE,
+ CHILD = EV_CHILD,
+ ERROR = EV_ERROR,
+ };
+
typedef ev_tstamp tstamp;
inline ev_tstamp now (EV_P)