This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] [gomp] Simplify thread pool initialization
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Jakub Jelinek <jakub at redhat dot com>
- Date: Mon, 31 Aug 2015 07:48:33 +0200
- Subject: Re: [PATCH] [gomp] Simplify thread pool initialization
- Authentication-results: sourceware.org; auth=none
- References: <1437569775-17198-1-git-send-email-sebastian dot huber at embedded-brains dot de> <55B7623F dot 2080106 at embedded-brains dot de>
Ping.
On 28/07/15 13:06, Sebastian Huber wrote:
Ping.
This is a pre-requisite for:
https://gcc.gnu.org/ml/gcc-patches/2015-07/msg02347.html
On 22/07/15 14:56, Sebastian Huber wrote:
Move the thread pool initialization from the team start to the team
creation. This eliminates one conditional expression. In addition this
is a preparation patch to enable shared thread pools which I would like
to use for RTEMS later. No unexpected failures on
x86_64-unknown-linux-gnu.
libgomp/ChangeLog
2015-07-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
* 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.
---
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.