diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-13 15:25:06 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-31 08:29:43 +0200 |
commit | fb7199d3a27036e2de408caef1a8c755dc986050 (patch) | |
tree | 5fa4323d16c60aa80a276afeb29131205df69db5 /cpukit/posix/src | |
parent | score: Thread life cycle re-implementation (diff) | |
download | rtems-fb7199d3a27036e2de408caef1a8c755dc986050.tar.bz2 |
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.
Diffstat (limited to 'cpukit/posix/src')
-rw-r--r-- | cpukit/posix/src/pthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |