From fb7199d3a27036e2de408caef1a8c755dc986050 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 13 Mar 2014 15:25:06 +0100 Subject: score: Relax Giant lock usage for API mutexes It is no longer necessary to protect the workspace allocations with the Giant lock due to the thread life cycle re-implementation. --- cpukit/posix/src/pthread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/posix') diff --git a/cpukit/posix/src/pthread.c b/cpukit/posix/src/pthread.c index 8d1a8eb209..512cd70c8f 100644 --- a/cpukit/posix/src/pthread.c +++ b/cpukit/posix/src/pthread.c @@ -227,7 +227,7 @@ static bool _POSIX_Threads_Create_extension( && _Objects_Get_class( created->Object.id ) == 1 #endif ) { - executing_api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ]; + executing_api = _Thread_Get_executing()->API_Extensions[ THREAD_API_POSIX ]; api->signals_blocked = executing_api->signals_blocked; } else { api->signals_blocked = SIGNAL_ALL_MASK; -- cgit v1.2.3