[gomp] Simplify thread pool initialization
authorSebastian Huber <sebastian.huber@embedded-brains.de>
Thu, 3 Sep 2015 11:24:34 +0000 (11:24 +0000)
committerSebastian Huber <sh@gcc.gnu.org>
Thu, 3 Sep 2015 11:24:34 +0000 (11:24 +0000)
commit7892ec670c1c5d1e4d911ab41903a6af72bc85d2
treeadcb0cc39a050326a9ae718cb38bbdbf969a0785
parent17720e84bfd8df2224886b087cccf236e237d5bc
[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.

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