On Sat, Aug 20, 2011 at 8:51 AM, Torvald Riegel wrote:
> This adds a futex-based version of the serial lock for use on Linux. The
> futex code is basically old code of libitm (it got removed in SVN rev
> 157758) with one fix for sysfutex0 on x86_64 and one change that returns
> the number of woken
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: S
This adds a futex-based version of the serial lock for use on Linux. The
futex code is basically old code of libitm (it got removed in SVN rev
157758) with one fix for sysfutex0 on x86_64 and one change that returns
the number of woken processes (futex_wake).
The gtm_rwlock is similar in concept t