[gomp] Recycle last non-nested team if possible
authorSebastian Huber <sebastian.huber@embedded-brains.de>
Wed, 15 Jul 2015 09:11:11 +0000 (09:11 +0000)
committerSebastian Huber <sh@gcc.gnu.org>
Wed, 15 Jul 2015 09:11:11 +0000 (09:11 +0000)
commit6dba011330935d77386e99066fdb14b011a19ffa
tree31b5db57e91957cc7fe59dfeb5f0fd58f144952a
parent290f6359d2702746f262fc74adc77ce85e3df63e
[gomp] Recycle last non-nested team if possible

libgomp/ChangeLog
2015-07-15  Sebastian Huber  <sebastian.huber@embedded-brains.de>

* team.c (get_last_team): New.
(gomp_new_team): Recycle last non-nested team if possible.
(gomp_team_end): Move team work share list free lock destruction
to ...
(free_team): ... here.

From-SVN: r225811
libgomp/ChangeLog
libgomp/team.c