]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR libgomp/45240 (parallel.c: GOMP_parallel_end locks a mutex but fails...
authorJakub Jelinek <jakub@redhat.com>
Tue, 7 Dec 2010 15:26:37 +0000 (16:26 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 7 Dec 2010 15:26:37 +0000 (16:26 +0100)
commitab4a968882ebddaed29934bba47534630570e45d
treeec7e3573f5d794cf1feef75fad79ca7603814dec
parentfd0807e349b27527091744f55920a071a87ba1d0
backport: re PR libgomp/45240 (parallel.c: GOMP_parallel_end locks a mutex but fails to unlock it after atomic operation complete)

Backport from mainline
2010-12-02  Jakub Jelinek  <jakub@redhat.com>

PR libgomp/45240
* parallel.c (GOMP_parallel_end): Unlock gomp_remaining_threads_lock
at the end if sync builtins aren't supported.

From-SVN: r167547
libgomp/ChangeLog
libgomp/parallel.c