[gomp] Simplify thread pool initialization
commit8087e8d0bf16e5d277f97bdcf57dcdfcacf018b7
authorsh <sh@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Sep 2015 11:24:34 +0000 (3 11:24 +0000)
committersh <sh@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Sep 2015 11:24:34 +0000 (3 11:24 +0000)
treeadcb0cc39a050326a9ae718cb38bbdbf969a0785
parent264aa9597563610817494562060b61244867caec
[gomp] Simplify thread pool initialization

libgomp/ChangeLog

* team.c (gomp_new_thread_pool): Delete and move content to ...
(gomp_get_thread_pool): ... new function.  Allocate and
initialize thread pool on demand.
(get_last_team): Use gomp_get_thread_pool().
(gomp_team_start): Delete thread pool initialization.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227439 138bc75d-0d04-0410-961f-82ee72b054a4
libgomp/ChangeLog
libgomp/team.c