Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-04-04 | Use only clock_gettime, do not depend on librt | Samuel Thibault | |
clock_gettime is actually provided by libc, not librt, so we don't need the latter, and thus avoid the librt dependency, which would cause initialization issues. * sysdeps/generic/pt-condattr-setclock.c (pthread_condattr_setclock): Use clock_gettime instead of clock_getres to test for clock availability. * Makefile: Do not link against librt. | |||
2012-04-22 | pthread_condattr_setclock: allow a monotonic clock, if present | Pino 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-10 | Import libpthread. | Neal H. Walfield | |