Hi,
Here's the second patch that implements
pthread_rwlock_timed*lock and lll_robust_timedlock_wait using
FUTEX_WAIT_BITSET if available. It needs the earlier FUTEX_WAIT_BITSET
patch to work correctly. I have also committed this patch to the
siddhesh/wait_bitset branch (and learned that rebases are only good
when you're working locally).
This is again tested on s390 and ppc. If both patches are OK, I will
fold all of them into a single commit if that is fine (with a single
ChangeLog of course).
Regards,
Siddhesh
nptl/ChangeLog:
* pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
Time out if absolute timeout is negative.
[__ASSUME_FUTEX_CLOCK_REALTIME &&
lll_futex_timed_wait_bitset]: Use lll_futex_timed_wait_bitset.
* pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
Likewise.
* sysdeps/unix/sysv/linux/lowlevelrobustlock.c
(__lll_robust_timedlock_wait): Likewise.