[gomp] Add thread attribute customization
authorSebastian Huber <sebastian.huber@embedded-brains.de>
Thu, 3 Sep 2015 11:34:28 +0000 (11:34 +0000)
committerSebastian Huber <sh@gcc.gnu.org>
Thu, 3 Sep 2015 11:34:28 +0000 (11:34 +0000)
commit06441dd5e3630dbeae13028968d0b12926211009
tree052af5b0dae75a0d1bac729a2ab635e831bb7933
parent66c59f92387c99ea5724cba69843f7dfb7593740
[gomp] Add thread attribute customization

libgomp/ChangeLog

* config/posix/pool.h (gomp_adjust_thread_attr): New.
* config/rtems/pool.h (gomp_adjust_thread_attr): Likewise.
(gomp_thread_pool_reservoir): Add priority member.
* confi/rtems/proc.c (allocate_thread_pool_reservoir): Add
priority.
(parse_thread_pools): Likewise.
* team.c (gomp_team_start): Call configuration provided
gomp_adjust_thread_attr(). Destroy thread attributes if
necessary.
* libgomp.texi: Document GOMP_RTEMS_THREAD_POOLS.

From-SVN: r227442
libgomp/ChangeLog
libgomp/config/posix/pool.h
libgomp/config/rtems/pool.h
libgomp/config/rtems/proc.c
libgomp/libgomp.texi
libgomp/team.c