[PATCH siddhesh/wait_bitset] Use FUTEX_WAIT_BITSET for pthread_cond_timedwait for non-x86: ppc, s390

Siddhesh Poyarekar siddhesh@redhat.com
Fri Oct 26 10:48:00 GMT 2012


Hi,

Sorry, there was a bug in my patch in the clockbit condition that I had
fixed during testing but forgot to bring back into the patch during
submission.  Here's an updated patch in which everything else is the
same except for the flipped condition for clockbit.  Verified once
again on powerpc and s390.

Also coming up shortly is another patch with a similar change for
pthread_rwlock_timed*lock and __lll_robust_timedlock_wait.

Regards,
Siddhesh

nptl/ChangeLog:

	* pthread_cond_timedwait.c (__pthread_cond_timedwait): Time out
	if absolute timeout is negative.
	[__ASSUME_FUTEX_CLOCK_REALTIME &&
	lll_futex_timed_wait_bitset]: Use lll_futex_timed_wait_bitset.
	* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
	(lll_futex_timed_wait_bitset): New macro.
	* sysdeps/unix/sysv/linux/s390/lowlevellock.h
	(lll_futex_timed_wait_bitset): Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: futex-wait-bitset.patch
Type: text/x-patch
Size: 5101 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20121026/6c021427/attachment.bin>


More information about the Libc-alpha mailing list