Monotonic clocks

Chris Vine chris at
Mon May 24 13:24:13 UTC 2010


I am the upstream maintainer of efax-gtk and I am told recent versions
of the program will not compile on the FreeBSD port of debian, because
FreeBSD does not appear to provide pthread_condattr_setclock() to set a
monotonic clock on condition variables.

The program configuration script calls up sysconf() to determine
whether the POSIX advanced realtime option (_SC_MONOTONIC_CLOCK) is
provided, and FreeBSD's sysconf() indicates that it is.  Is anything
else needed to enable monotonic clocks on BSD, or is sysconf()
incorrectly advertising the implementation of monotonic clocks in BSD's


More information about the freebsd-threads mailing list