Fix for PR55561 race condition in libgomp

Dmitry Vyukov dvyukov@google.com
Fri Feb 1 19:59:00 GMT 2013


LGTM

On Thu, Jan 31, 2013 at 8:54 PM, VandeVondele  Joost
<joost.vandevondele@mat.ethz.ch> wrote:
> The updated changelog entry is below, but somebody with write access should do the commit, please.
>
> 2013-01-31  Dmitry Vyukov  <dvyukov@gcc.gnu.org>
>                   Joost VandeVondele <Joost.VandeVondele@mat.ethz.ch>
>
>         PR libgomp/55561
>         * config/linux/wait.h (do_spin): Use atomic load for addr.
>         * config/linux/ptrlock.c (gomp_ptrlock_get_slow): Use atomic
>         for intptr and ptrlock.
>         * config/linux/ptrlock.h (gomp_ptrlock_get): Use atomic load
>         for ptrlock.



More information about the Gcc-patches mailing list