mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-05 03:01:05 +00:00
71eeae0325
The878fe624d4
changed lll_futex_timed_wait, which expects a relative timeout, with a __futex_abstimed_wait64, which expects an absolute timeout. However the code still passes a relative timeout. Also, the PTHREAD_PRIO_PROTECT support for clocks different than CLOCK_REALTIME was broken since the inclusion of pthread_mutex_clocklock (9d20e22e46
) since lll_futex_timed_wait always use CLOCK_REALTIME. This patch fixes by removing the relative time calculation. It also adds some xtests that tests both thread and inter-process usage. Checked on x86_64-linux-gnu.
3 lines
44 B
C
3 lines
44 B
C
#define ENABLE_PP 1
|
|
#include "tst-mutex5.c"
|