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
acinclude.m4
aclocal.m4
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
critical.c
env.c libgomp.h (gomp_cpu_affinity, [...]): New extern decls. 2007-04-04 17:44:20 +02:00
error.c
fortran.c
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
loop.c
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