futex2: Adapt glibc to use futex2
Add a new low level lock interface to use futex2 syscall. Adapt the current timed waiters to use absolute timeout, instead of relative ones. Add FUTEX_32 flag to all futex2 calls.
Showing
- nptl/lll_timedlock_wait.c 1 addition, 0 deletionsnptl/lll_timedlock_wait.c
- nptl/pthread_join_common.c 3 additions, 1 deletionnptl/pthread_join_common.c
- nptl/pthread_mutex_timedlock.c 4 additions, 2 deletionsnptl/pthread_mutex_timedlock.c
- nptl/pthread_mutex_trylock.c 1 addition, 1 deletionnptl/pthread_mutex_trylock.c
- scripts/test-installation.pl 1 addition, 1 deletionscripts/test-installation.pl
- sysdeps/nptl/futex-internal.h 35 additions, 2 deletionssysdeps/nptl/futex-internal.h
- sysdeps/nptl/lowlevellock-futex2.h 41 additions, 20 deletionssysdeps/nptl/lowlevellock-futex2.h
- sysdeps/nptl/lowlevellock.h 1 addition, 1 deletionsysdeps/nptl/lowlevellock.h
- sysdeps/pthread/thrd_create.c 2 additions, 1 deletionsysdeps/pthread/thrd_create.c
- sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h 3 additions, 0 deletionssysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h
Please register or sign in to comment