This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [COMMITTED PATCH] NaCl: Add NaCl-specific __lll_timedlock_wait.
- From: Torvald Riegel <triegel at redhat dot com>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: "GNU C. Library" <libc-alpha at sourceware dot org>
- Date: Wed, 27 May 2015 10:44:44 +0200
- Subject: Re: [COMMITTED PATCH] NaCl: Add NaCl-specific __lll_timedlock_wait.
- Authentication-results: sourceware.org; auth=none
- References: <20150526223124 dot 432552C3A08 at topped-with-meat dot com>
On Tue, 2015-05-26 at 15:31 -0700, Roland McGrath wrote:
> +/* This behaves the same as the generic version in nptl/. It's simpler
> + because it doesn't need to convert an absolute timeout to a relative
> + one (and back again in the lll_futex_timed_wait macro). */
If you remember the new glibc-internal futex API I proposed, it provided
variants for both absolute and relative timeouts. Would now be a good
time to pursue adding this API so that changes like this wouldn't need
to be NaCl-specific?