summaryrefslogtreecommitdiff
path: root/sysdeps/generic/pt-condattr-setclock.c
AgeCommit message (Collapse)Author
2012-04-22pthread_condattr_setclock: allow a monotonic clock, if presentPino Toscano
If CLOCK_MONOTONIC is requested, check (only once) for the availability of a monotonic clock using `clock_getres'. If it is not, reject CLOCK_MONOTONIC with EINVAL (as before). * sysdeps/generic/pt-condattr-setclock.c (pthread_condattr_setclock): Check for monotonic clock if requested.
2002-10-10Import libpthread.Neal H. Walfield