htl: Add sem_clockwait support

System Internals / glibc - Samuel Thibault [ens-lyon.org] - 7 June 2020 01:14 EDT

- 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.

be22a151f3 htl: Add sem_clockwait support
htl/Versions | 4 +++-
nptl/Makefile | 2 +-
sysdeps/htl/sem-timedwait.c | 12 ++++++++++--
sysdeps/htl/sem-wait.c | 3 ++-
sysdeps/mach/hurd/i386/libpthread.abilist | 1 +
sysdeps/pthread/Makefile | 2 +-
{nptl => sysdeps/pthread}/tst-sem5.c | 0
7 files changed, 18 insertions(+), 6 deletions(-)

Upstream: sourceware.org


  • Share