summary refs log tree commit diff
path: root/sysdeps/mach
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-06-07 03:12:36 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-06-07 03:14:49 +0200
commitbe22a151f3e2c2e4b9127d4fa30b269f30a7ea2e (patch)
tree8cac3fb673b78c9fe02a404e142350756ce9742b /sysdeps/mach
parent6c5ca98d096a5f61144555c76fdfd3c2ad561082 (diff)
downloadglibc-be22a151f3e2c2e4b9127d4fa30b269f30a7ea2e.tar.gz
glibc-be22a151f3e2c2e4b9127d4fa30b269f30a7ea2e.tar.xz
glibc-be22a151f3e2c2e4b9127d4fa30b269f30a7ea2e.zip
htl: Add sem_clockwait support
* sysdeps/htl/sem-timedwait.c (__sem_timedwait_internal): Add clock_id
parameter instead of hardcoding CLOCK_REALTIME.
(__sem_clockwait): New function.
(sem_clockwait): New weak alias.
* sysdeps/htl/sem-wait.c (__sem_timedwait_internal): Update declaration.
(__sem_wait): Update call to __sem_timedwait_internal.
* htl/Versions (GLIBC_2.32): Add sem_clockwait.
* sysdeps/mach/hurd/i386/libpthread.abilist (sem_clockwait): Add symbol.
* nptl/Makefile (tests): Move tst-sem5 to...
* sysdeps/pthread/Makefile (tests): ... here.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r--sysdeps/mach/hurd/i386/libpthread.abilist1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/i386/libpthread.abilist b/sysdeps/mach/hurd/i386/libpthread.abilist
index a1026f0d1e..a1e0a7183b 100644
--- a/sysdeps/mach/hurd/i386/libpthread.abilist
+++ b/sysdeps/mach/hurd/i386/libpthread.abilist
@@ -168,6 +168,7 @@ GLIBC_2.32 pthread_rwlock_clockrdlock F
 GLIBC_2.32 pthread_rwlock_clockwrlock F
 GLIBC_2.32 pthread_timedjoin_np F
 GLIBC_2.32 pthread_tryjoin_np F
+GLIBC_2.32 sem_clockwait F
 GLIBC_2.32 thrd_create F
 GLIBC_2.32 thrd_detach F
 GLIBC_2.32 thrd_exit F