]> git.ipfire.org Git - thirdparty/glibc.git/commit
htl: Add sem_clockwait support
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 7 Jun 2020 01:12:36 +0000 (03:12 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 7 Jun 2020 01:14:49 +0000 (03:14 +0200)
commitbe22a151f3e2c2e4b9127d4fa30b269f30a7ea2e
tree8cac3fb673b78c9fe02a404e142350756ce9742b
parent6c5ca98d096a5f61144555c76fdfd3c2ad561082
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.
htl/Versions
nptl/Makefile
sysdeps/htl/sem-timedwait.c
sysdeps/htl/sem-wait.c
sysdeps/mach/hurd/i386/libpthread.abilist
sysdeps/pthread/Makefile
sysdeps/pthread/tst-sem5.c [moved from nptl/tst-sem5.c with 100% similarity]