diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-01-13 20:41:07 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-01-13 20:41:07 +0100 |
commit | a8f0fc4e5fbad300d524a3339d503c41e3182ed0 (patch) | |
tree | 8d7294cf3743145725d03ea21a860b5c78c9f2ba /sysdeps/mach/hurd/htl/pt-mutex-timedlock.c | |
parent | 1d62a403734b18367eb0aa47493d0de644edd00b (diff) | |
download | glibc-a8f0fc4e5fbad300d524a3339d503c41e3182ed0.tar.gz glibc-a8f0fc4e5fbad300d524a3339d503c41e3182ed0.tar.xz glibc-a8f0fc4e5fbad300d524a3339d503c41e3182ed0.zip |
htl: Add internal version of __pthread_mutex_timedlock
The C11 threads implementation will need it.
Diffstat (limited to 'sysdeps/mach/hurd/htl/pt-mutex-timedlock.c')
-rw-r--r-- | sysdeps/mach/hurd/htl/pt-mutex-timedlock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/htl/pt-mutex-timedlock.c b/sysdeps/mach/hurd/htl/pt-mutex-timedlock.c index 13136ddfe1..e83bc57875 100644 --- a/sysdeps/mach/hurd/htl/pt-mutex-timedlock.c +++ b/sysdeps/mach/hurd/htl/pt-mutex-timedlock.c @@ -24,7 +24,7 @@ #include <hurdlock.h> int -pthread_mutex_timedlock (pthread_mutex_t *mtxp, const struct timespec *tsp) +__pthread_mutex_timedlock (pthread_mutex_t *mtxp, const struct timespec *tsp) { struct __pthread *self; int ret, flags = mtxp->__flags & GSYNC_SHARED; @@ -76,3 +76,4 @@ pthread_mutex_timedlock (pthread_mutex_t *mtxp, const struct timespec *tsp) return ret; } +strong_alias (__pthread_mutex_timedlock, pthread_mutex_timedlock) |