This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgomp/51298] libgomp team_barrier locking failures


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51298

--- Comment #1 from Alan Modra <amodra at gcc dot gnu.org> 2011-11-30 04:44:18 UTC ---
Author: amodra
Date: Wed Nov 30 04:44:13 2011
New Revision: 181833

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181833
Log:
    PR libgomp/51298
    * config/linux/bar.h: Use atomic rather than sync builtins.
    * config/linux/bar.c: Likewise.  Add missing acquire
    synchronisation on generation field.
    * task.c (gomp_barrier_handle_tasks): Regain lock so as to not
    double unlock.


Modified:
    trunk/libgomp/ChangeLog
    trunk/libgomp/config/linux/bar.c
    trunk/libgomp/config/linux/bar.h
    trunk/libgomp/task.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]