This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r170737 - in /branches/gomp-3_1-branch/libgomp:...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 07 Mar 2011 15:23:43 -0000
- Subject: r170737 - in /branches/gomp-3_1-branch/libgomp:...
Author: jakub
Date: Mon Mar 7 15:23:42 2011
New Revision: 170737
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170737
Log:
* libgomp.h (gomp_nthreads_var_list, gomp_nthreads_var_list_len): New
externs.
* env.c (gomp_nthreads_var_list, gomp_nthreads_var_list_len): New
variables.
(parse_unsigned_long_list): New function.
(initialize_env): Use it for OMP_NUM_THREADS.
* team.c (gomp_team_start): Override new task's nthreads_var icv
if list form OMP_NUM_THREADS has been used and it has value for
the new nesting level.
Modified:
branches/gomp-3_1-branch/libgomp/ChangeLog
branches/gomp-3_1-branch/libgomp/env.c
branches/gomp-3_1-branch/libgomp/libgomp.h
branches/gomp-3_1-branch/libgomp/team.c