On Wed, Apr 11, 2012 at 01:36:17PM +0200, Richard Braun wrote: > Hello, > > Is there a particular reason why CLOCK_MONOTONIC_RAW isn't defined in > libc/sysdeps/linux/common/bits/time.h ?
This is something of an aside, but I'd be really interested in knowing what it's needed for. A number of folks go around asserting that CLOCK_MONOTONIC is not really monotonic on Linux, but according to the documentation it is monotonic and the only thing non-"raw" about it is that it can run slightly faster or slower when ntpd smoothly adjusts for clock error. In particular, it ignores discontinuous clock changes. If there's a bug and it sometimes is discontinuous, my feeling is that the CLOCK_MONOTONIC constant should just be remapped to CLOCK_MONOTONIC_RAW rather than leaving the standard clock broken and forcing applications to use a nonstandard one... Rich _______________________________________________ uClibc mailing list uClibc@uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc