Define CLOCK_REALTIME_ALARM and CLOCK_BOOTTIME_ALARM
authorUlrich Drepper <drepper@gmail.com>
Sat, 21 May 2011 21:20:41 +0000 (17:20 -0400)
committerUlrich Drepper <drepper@gmail.com>
Sat, 21 May 2011 21:20:41 +0000 (17:20 -0400)
ChangeLog
sysdeps/unix/sysv/linux/bits/time.h

index bc73ba3..8a55e9d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
 
+       * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
+       and CLOCK_BOOTTIME_ALARM.
+
        [BZ #12782]
        * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
        is returned.
index a0d4b78..40f9a64 100644 (file)
@@ -73,6 +73,10 @@ extern long int __sysconf (int);
 #   define CLOCK_MONOTONIC_COARSE      6
 /* Monotonic system-wide clock that includes time spent in suspension.  */
 #   define CLOCK_BOOTTIME              7
+/* Like CLOCK_REALTIME but also wakes suspended system.  */
+#   define CLOCK_REALTIME_ALARM                8
+/* Like CLOCK_BOOTTIME but also wakes suspended system.  */
+#   define CLOCK_BOOTTIME_ALARM                9
 
 /* Flag to indicate time is absolute.  */
 #   define TIMER_ABSTIME               1