mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 11:20:07 +00:00
8f861542dd
Since the FUTEX_WAIT operation takes a relative timeout, the pthread_cond_timedwait and other timed function implementations have to get a relative timeout from the absolute timeout parameter it gets before it makes the futex syscall. This value is then converted back into an absolute timeout within the kernel. This is a waste and has hence been improved upon by a FUTEX_WAIT_BITSET operation (OR'd with FUTEX_CLOCK_REALTIME to make the kernel use the realtime clock instead of the default monotonic clock). This was implemented only in the x86 and sh assembly code and not in the C code. This patch implements support for FUTEX_WAIT_BITSET whenever available (since linux-2.6.29) for s390 and powerpc. |
||
---|---|---|
.. | ||
i386 | ||
powerpc | ||
pthread | ||
s390 | ||
sh | ||
sparc | ||
unix/sysv/linux | ||
x86_64 |