diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-01-26 11:13:45 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-02-03 10:00:58 +0100 |
commit | 4210114032d8d079bddaa2333875c38e30c93490 (patch) | |
tree | 18becea52309a821230316f4f68c59f92cc19a11 /cpukit/posix/src/pthread.c | |
parent | Use linker set for Classic User Tasks init (diff) | |
download | rtems-4210114032d8d079bddaa2333875c38e30c93490.tar.bz2 |
Use linker set for POSIX User Threads init
Update #2408.
Diffstat (limited to '')
-rw-r--r-- | cpukit/posix/src/pthread.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/cpukit/posix/src/pthread.c b/cpukit/posix/src/pthread.c index 6c4ea5ca8a..84d2e72108 100644 --- a/cpukit/posix/src/pthread.c +++ b/cpukit/posix/src/pthread.c @@ -285,28 +285,6 @@ static void _POSIX_Threads_Exitted_extension( pthread_exit( executing->Wait.return_argument ); } -/* - * _POSIX_Threads_Initialize_user_threads - * - * This routine creates and starts all configured user - * initialization threads. - */ -static void _POSIX_Threads_Initialize_user_threads( void ) -{ - if ( _POSIX_Threads_Initialize_user_threads_p ) - (*_POSIX_Threads_Initialize_user_threads_p)(); -} - -/* - * API Extension control structures - */ -API_extensions_Control _POSIX_Threads_API_extensions = { - #if defined(FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API) - .predriver_hook = NULL, - #endif - .postdriver_hook = _POSIX_Threads_Initialize_user_threads -}; - User_extensions_Control _POSIX_Threads_User_extensions = { { NULL, NULL }, { { NULL, NULL }, NULL }, @@ -363,8 +341,6 @@ static void _POSIX_Threads_Manager_initialization(void) */ _User_extensions_Add_API_set( &_POSIX_Threads_User_extensions ); - _API_extensions_Add( &_POSIX_Threads_API_extensions ); - /* * If we supported MP, then here we would ... * Register the MP Process Packet routine. |