aboutsummaryrefslogtreecommitdiff
path: root/libgomp/libgomp.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2006-06-09 15:08:55 -0700
committerRichard Henderson <rth@gcc.gnu.org>2006-06-09 15:08:55 -0700
commitd0d1b24d8989e0f293291e6f31f08c40f332484c (patch)
tree98eb377c774c5cc06d2f045c4c2f3a387829b617 /libgomp/libgomp.h
parent45559ef18133512de27d755b6939f6c059ff0cec (diff)
downloadgcc-d0d1b24d8989e0f293291e6f31f08c40f332484c.zip
gcc-d0d1b24d8989e0f293291e6f31f08c40f332484c.tar.gz
gcc-d0d1b24d8989e0f293291e6f31f08c40f332484c.tar.bz2
env.c (gomp_nthreads_var): Change to unsigned long.
* 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. From-SVN: r114525
Diffstat (limited to 'libgomp/libgomp.h')
-rw-r--r--libgomp/libgomp.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/libgomp/libgomp.h b/libgomp/libgomp.h
index 927dea5..47e68e6 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. */