diff options
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; |