summaryrefslogtreecommitdiff
path: root/pthread/pt-internal.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2014-04-04 20:39:08 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2014-04-04 20:39:08 +0200
commita0e2516e0f10619ef708109ff3bc6b54b44d4193 (patch)
tree177f684714fd9d15889894db1b30841f7bf0de5c /pthread/pt-internal.h
parent3b391db91f70b2166951413ee1eccc78cd398a44 (diff)
Use only clock_gettime, do not depend on librt
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.
Diffstat (limited to 'pthread/pt-internal.h')
0 files changed, 0 insertions, 0 deletions