gcc/libgomp
Jakub Jelinek a0884cf09e libgomp.h (gomp_cpu_affinity, [...]): New extern decls.
* libgomp.h (gomp_cpu_affinity, gomp_cpu_affinity_len): New extern
	decls.
	(gomp_init_affinity, gomp_init_thread_affinity): New prototypes.
	* env.c (gomp_cpu_affinity, gomp_cpu_affinity_len): New variables.
	(parse_affinity): New function.
	(initialize_env): Call it and gomp_init_affinity.
	* team.c (gomp_team_start): If gomp_cpu_affinity != NULL,
	create new pthread_attr_t and call gomp_init_thread_affinity
	on it for each thread before passing the attribute to pthread_create.
	* config/linux/affinity.c: New file.
	* config/posix/affinity.c: New file.
	* configure.ac (HAVE_PTHREAD_AFFINITY_NP): New test.
	* configure: Rebuilt.
	* config.h.in: Rebuilt.
	* Makefile.am (libgomp_la_SOURCES): Add affinity.c.
	* Makefile.in: Rebuilt.

From-SVN: r123494
2007-04-04 17:44:20 +02:00
..
config libgomp.h (gomp_cpu_affinity, [...]): New extern decls. 2007-04-04 17:44:20 +02:00
testsuite libgomp.exp (libgomp_init): Add -shared-libgcc for *-*-darwin*. 2007-03-23 20:25:19 +01:00
acinclude.m4 acinclude.m4: Adjust regular expression for ld version extraction. 2007-03-18 11:17:44 +00:00
aclocal.m4 re PR libgomp/30546 (build fail in libgomp when building from SVN because makeinfo is missing) 2007-01-31 16:30:16 -05:00
alloc.c
barrier.c
ChangeLog libgomp.h (gomp_cpu_affinity, [...]): New extern decls. 2007-04-04 17:44:20 +02:00
config.h.in libgomp.h (gomp_cpu_affinity, [...]): New extern decls. 2007-04-04 17:44:20 +02:00
configure libgomp.h (gomp_cpu_affinity, [...]): New extern decls. 2007-04-04 17:44:20 +02:00
configure.ac libgomp.h (gomp_cpu_affinity, [...]): New extern decls. 2007-04-04 17:44:20 +02:00
configure.tgt configure.tgt: Force initial-exec TLS model on Linux only. 2006-12-02 20:01:34 +00:00
critical.c critical.c (GOMP_critical_name_start): Fix *pptr initialization when gomp_mutex_t is larger than pointer and... 2006-06-21 10:59:44 +02:00
env.c libgomp.h (gomp_cpu_affinity, [...]): New extern decls. 2007-04-04 17:44:20 +02:00
error.c
fortran.c acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__ from test. 2006-10-06 08:25:32 +00:00
iter.c
libgomp_f.h.in
libgomp_g.h
libgomp.h libgomp.h (gomp_cpu_affinity, [...]): New extern decls. 2007-04-04 17:44:20 +02:00
libgomp.map
libgomp.spec.in
libgomp.texi libgomp.texi: Fix spacing after abbreviations. 2007-01-31 21:37:21 -08:00
loop.c re PR middle-end/29947 (OpenMP parallel for fails for reversed loop range) 2006-12-04 11:26:00 +01:00
Makefile.am libgomp.h (gomp_cpu_affinity, [...]): New extern decls. 2007-04-04 17:44:20 +02:00
Makefile.in libgomp.h (gomp_cpu_affinity, [...]): New extern decls. 2007-04-04 17:44:20 +02:00
omp_lib.f90.in
omp_lib.h.in
omp.h.in
ordered.c
parallel.c
sections.c
single.c
team.c libgomp.h (gomp_cpu_affinity, [...]): New extern decls. 2007-04-04 17:44:20 +02:00
work.c