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

Siddhesh Poyarekar siddhesh@redhat.com
Sat Oct 27 02:52:00 GMT 2012


On Fri, 26 Oct 2012 11:55:02 -0600, Jeff wrote:
> Presumably there's some reason why you couldn't use the
> INTERNAL_SYSCALL mechanisms for the s390 lll_futex_timed_wait_bitset?

No technical reason.  It's just that all of the functions in the s390
lowlevellock.h do the syscall directly, so I wrote it that way to
maintain uniformity.  Most (all?) of the lll_futex_* functions could
probably be rewritten as INTERNAL_SYSCALLs and moved into a common
header as a future cleanup.


Siddhesh



More information about the Libc-alpha mailing list