diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-12-17 21:23:37 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-12-17 21:23:37 +0000 |
commit | 309e2f6f8b9cada14afd4aeda4a5e4c7f7386e6a (patch) | |
tree | a99632b3ce88dc58957029fc92e19f6e5271b590 /cpukit/posix/src/pthreadinitthreads.c | |
parent | 2008-12-17 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-309e2f6f8b9cada14afd4aeda4a5e4c7f7386e6a.tar.bz2 |
2008-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/include/rtems/posix/barrier.h,
posix/include/rtems/posix/cond.h, posix/include/rtems/posix/key.h,
posix/include/rtems/posix/mqueue.h,
posix/include/rtems/posix/mutex.h,
posix/include/rtems/posix/psignal.h,
posix/include/rtems/posix/pthread.h,
posix/include/rtems/posix/ptimer.h,
posix/include/rtems/posix/rwlock.h,
posix/include/rtems/posix/semaphore.h,
posix/include/rtems/posix/spinlock.h,
posix/include/rtems/posix/timer.h, posix/src/cond.c, posix/src/key.c,
posix/src/mqueue.c, posix/src/mutex.c, posix/src/pbarrier.c,
posix/src/prwlock.c, posix/src/psignal.c, posix/src/pspin.c,
posix/src/pthread.c, posix/src/pthreadinitthreads.c,
posix/src/ptimer.c, posix/src/semaphore.c, sapi/src/posixapi.c:
Convert POSIX manager initialization routines to directly pull
parameters from configuration table.
Diffstat (limited to 'cpukit/posix/src/pthreadinitthreads.c')
-rw-r--r-- | cpukit/posix/src/pthreadinitthreads.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/cpukit/posix/src/pthreadinitthreads.c b/cpukit/posix/src/pthreadinitthreads.c index 68ba28d6b1..7d46ca4292 100644 --- a/cpukit/posix/src/pthreadinitthreads.c +++ b/cpukit/posix/src/pthreadinitthreads.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT (c) 1989-2007. + * COPYRIGHT (c) 1989-2008. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -19,6 +19,7 @@ #include <limits.h> #include <rtems/system.h> +#include <rtems/config.h> #include <rtems/score/apiext.h> #include <rtems/score/stack.h> #include <rtems/score/thread.h> @@ -44,7 +45,7 @@ * Output parameters: NONE */ -void _POSIX_Threads_Initialize_user_threads_body( void ) +void _POSIX_Threads_Initialize_user_threads_body(void) { int status; uint32_t index; @@ -53,8 +54,8 @@ void _POSIX_Threads_Initialize_user_threads_body( void ) pthread_t thread_id; pthread_attr_t attr; - user_threads = _POSIX_Threads_User_initialization_threads; - maximum = _POSIX_Threads_Number_of_initialization_threads; + user_threads = Configuration_POSIX_API.User_initialization_threads_table; + maximum = Configuration_POSIX_API.number_of_initialization_threads; if ( !user_threads || maximum == 0 ) return; |