OSDN Git Service

PR libgomp/51376
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Feb 2013 13:40:25 +0000 (13:40 +0000)
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Feb 2013 13:40:25 +0000 (13:40 +0000)
commit6f011702bd993ed4180cfc515af121aa3ca86e97
treed7e01e021eb9fc857d1880d587af39b925d40a74
parent381f516ffdebea297a88af76e6c3546e5abe967c
PR libgomp/51376
PR libgomp/56073
* task.c (GOMP_task): Revert 2011-12-09 change.
(GOMP_taskwait): Likewise.  Instead use atomic load with acquire
barrier to read task->children..
(gomp_barrier_handle_tasks): ..and matching atomic store with
release barrier here when setting parent->children to NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195756 138bc75d-0d04-0410-961f-82ee72b054a4
libgomp/ChangeLog
libgomp/task.c