[gomp] Add thread attribute customization
commit6e7237399772a1439925a7b9e84217547c4b1c7c
authorsh <sh@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Sep 2015 11:34:28 +0000 (3 11:34 +0000)
committersh <sh@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Sep 2015 11:34:28 +0000 (3 11:34 +0000)
tree052af5b0dae75a0d1bac729a2ab635e831bb7933
parent65cb1e66fa23d3b05db674284aaffda1890f5688
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227442 138bc75d-0d04-0410-961f-82ee72b054a4
libgomp/ChangeLog
libgomp/config/posix/pool.h
libgomp/config/rtems/pool.h
libgomp/config/rtems/proc.c
libgomp/libgomp.texi
libgomp/team.c