diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-03-04 15:54:12 -0600 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-03-07 13:21:11 -0600 |
commit | e6c87f78724743bc74a38678f93ed579ace840f2 (patch) | |
tree | dce3962edb00574dade0c8caf837cd85b9607831 /cpukit/posix/src/pthread.c | |
parent | Remove trailing whitespace in previous patches (diff) | |
download | rtems-e6c87f78724743bc74a38678f93ed579ace840f2.tar.bz2 |
POSIX keys now enabled in all configurations.
Formerly POSIX keys were only enabled when POSIX threads
were enabled. Because they are a truly safe alternative
to per-task variables in an SMP system, they are being
enabled in all configurations.
Diffstat (limited to 'cpukit/posix/src/pthread.c')
-rw-r--r-- | cpukit/posix/src/pthread.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/cpukit/posix/src/pthread.c b/cpukit/posix/src/pthread.c index 67b62ae67e..33577a22ac 100644 --- a/cpukit/posix/src/pthread.c +++ b/cpukit/posix/src/pthread.c @@ -6,7 +6,7 @@ */ /* - * COPYRIGHT (c) 1989-2013. + * COPYRIGHT (c) 1989-2014. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -247,9 +247,6 @@ static bool _POSIX_Threads_Create_extension( created ); - /** initialize thread's key vaule node chain */ - _Chain_Initialize_empty( &api->Key_Chain ); - return true; } @@ -275,11 +272,6 @@ static void _POSIX_Threads_Delete_extension( _POSIX_Threads_cancel_run( deleted ); /* - * Run all the key destructors - */ - _POSIX_Keys_Run_destructors( deleted ); - - /* * Wakeup all the tasks which joined with this one */ value_ptr = (void **) deleted->Wait.return_argument; |