diff options
author | Eric Wong <normalperson@yhbt.net> | 2012-05-02 08:24:52 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2012-05-02 08:37:13 +0000 |
commit | 1264e45ee8776e68df08e76a75d08fa745266e22 (patch) | |
tree | b365be4c305ce45a24f2dc89dc698a2344957eb0 | |
parent | e2a9b831ec9ab2c8fad622deec1aef8853f4cb41 (diff) | |
download | sleepy_penguin-1264e45ee8776e68df08e76a75d08fa745266e22.tar.gz |
timerfd currently (Linux 3.3.x) only supports CLOCK_REALTIME and CLOCK_MONOTONIC, and not every single clock supported by POSIX clocks.
-rw-r--r-- | ext/sleepy_penguin/timerfd.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ext/sleepy_penguin/timerfd.c b/ext/sleepy_penguin/timerfd.c index a6fd9d2..1f2d516 100644 --- a/ext/sleepy_penguin/timerfd.c +++ b/ext/sleepy_penguin/timerfd.c @@ -155,16 +155,6 @@ void sleepy_penguin_init_timerfd(void) NODOC_CONST(cTimerFD, "REALTIME", UINT2NUM(CLOCK_REALTIME)); NODOC_CONST(cTimerFD, "MONOTONIC", UINT2NUM(CLOCK_MONOTONIC)); -#ifdef CLOCK_BOOTTIME - NODOC_CONST(cTimerFD, "BOOTTIME", UINT2NUM(CLOCK_BOOTTIME)); -#endif -#ifdef CLOCK_REALTIME_ALARM - NODOC_CONST(cTimerFD, "REALTIME_ALARM", UINT2NUM(CLOCK_REALTIME_ALARM)); -#endif -#ifdef CLOCK_BOOTTIME_ALARM - NODOC_CONST(cTimerFD, "BOOTTIME_ALARM", UINT2NUM(CLOCK_BOOTTIME_ALARM)); -#endif - NODOC_CONST(cTimerFD, "ABSTIME", UINT2NUM(TFD_TIMER_ABSTIME)); #ifdef TFD_TIMER_CANCEL_ON_SET NODOC_CONST(cTimerFD, "CANCEL_ON_SET", |