[RTEMS] Use spin lock for pool management
authorSebastian Huber <sebastian.huber@embedded-brains.de>
Fri, 2 Dec 2016 14:13:12 +0000 (14:13 +0000)
committerSebastian Huber <sh@gcc.gnu.org>
Fri, 2 Dec 2016 14:13:12 +0000 (14:13 +0000)
commite7a7f4bea8356e24ca5f2c25a75dc005c7492f89
tree8ca30f0332f0da78a9d5fa75b3d15687858c3b10
parent714445ae04640bc096693623fb805bcf14148663
[RTEMS] Use spin lock for pool management

libgomp/

* libgomp/config/rtems/pool.h (gomp_thread_pool_reservoir): Use
pthread_spinlock_t instead of gomp_mutex_t lock.
(gomp_get_thread_pool): Likewise.
(gomp_release_thread_pool): Likewise.
* libgomp/config/rtems/proc.c (allocate_thread_pool_reservoir):
Likewise.

From-SVN: r243181
libgomp/ChangeLog
libgomp/config/rtems/pool.h
libgomp/config/rtems/proc.c