This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [trans-mem] Add futex-based serial lock
- From: Richard Henderson <rth at redhat dot com>
- To: Torvald Riegel <triegel at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 20 Aug 2011 13:33:40 -0700
- Subject: Re: [trans-mem] Add futex-based serial lock
- References: <1313855517.3533.2476.camel@triegel.csb>
On 08/20/2011 08:51 AM, Torvald Riegel wrote:
> Add futex-based serial lock.
>
> * config/linux/rwlock.h: New file.
> * config/linux/rwlock.c: New file.
> * configure.ac: Reenable futex support (undo SVN rev 157758).
> * Makefile.am: Same.
> * configure.tgt: Same.
> * config/linux/alpha/futex_bits.h: Same.
> * config/linux/futex.h: Same. Return number of woken processes.
> * config/linux/futex.cc: Same.
> (futex_wait): Remove spinning.
> * config/linux/x86/futex_bits.h: Same. Set futex timeout to zero.
> * aclocal.m4: Include generic futex checks.
> * configure: Rebuild.
> * Makefile.in: Rebuild.
> * testsuite/Makefile.in: Rebuild.
> * beginend.cc: Include pthread.h.
> * config/posix/cachepage.cc: Same.
Ok.
r~