From 5eaf0e7458bac80ba669f03c4feaae5bad55c6c9 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 17 Mar 2016 07:56:31 +0100 Subject: posix: Use per-thread lookup tree for POSIX Keys Yields higher performance on SMP systems. Close #2625. --- cpukit/score/src/threadrestart.c | 1 + 1 file changed, 1 insertion(+) (limited to 'cpukit/score/src/threadrestart.c') diff --git a/cpukit/score/src/threadrestart.c b/cpukit/score/src/threadrestart.c index f5419741bf..155acaa8d1 100644 --- a/cpukit/score/src/threadrestart.c +++ b/cpukit/score/src/threadrestart.c @@ -97,6 +97,7 @@ static void _Thread_Free( Thread_Control *the_thread ) _Objects_Get_information_id( the_thread->Object.id ); _User_extensions_Thread_delete( the_thread ); + _ISR_lock_Destroy( &the_thread->Keys.Lock ); _Scheduler_Node_destroy( _Scheduler_Get( the_thread ), the_thread ); _ISR_lock_Destroy( &the_thread->Timer.Lock ); -- cgit v1.2.3