diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-06-09 22:08:55 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-06-09 22:08:55 +0000 |
commit | ba893327c7f139aebe0f09b07dd79fd879a0222d (patch) | |
tree | 98eb377c774c5cc06d2f045c4c2f3a387829b617 /libgomp/libgomp.h | |
parent | 8a5d137dbca185c626aa590df1a66df61080c6a7 (diff) | |
download | gcc-ba893327c7f139aebe0f09b07dd79fd879a0222d.tar.gz |
* env.c (gomp_nthreads_var): Change to unsigned long.
(gomp_run_sched_chunk): Likewise.
(parse_unsigned_long): Rename from parse_num_threads and generalize.
(initialize_env): Initialize gomp_thread_attr.
* libgomp.h (gomp_nthreads_var): Update decl.
(gomp_run_sched_chunk): Likewise.
(gomp_thread_attr): Declare.
* team.c (gomp_thread_attr): Export.
(initialize_team): Don't initialize it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114525 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/libgomp.h')
-rw-r--r-- | libgomp/libgomp.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libgomp/libgomp.h b/libgomp/libgomp.h index 927dea5b6b7..47e68e69cfe 100644 --- a/libgomp/libgomp.h +++ b/libgomp/libgomp.h @@ -237,11 +237,14 @@ static inline struct gomp_thread *gomp_thread (void) /* These are the OpenMP 2.5 internal control variables described in section 2.3. At least those that correspond to environment variables. */ -extern unsigned gomp_nthreads_var; +extern unsigned long gomp_nthreads_var; extern bool gomp_dyn_var; extern bool gomp_nest_var; extern enum gomp_schedule_type gomp_run_sched_var; -extern unsigned gomp_run_sched_chunk; +extern unsigned long gomp_run_sched_chunk; + +/* The attributes to be used during thread creation. */ +extern pthread_attr_t gomp_thread_attr; /* Function prototypes. */ |