This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH siddhesh/wait_bitset] Use FUTEX_WAIT_BITSET forpthread_cond_timedwait for non-x86: ppc, s390
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