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/score/src/apimutexlock.c | |
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/score/src/apimutexlock.c')
-rw-r--r-- | cpukit/score/src/apimutexlock.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/score/src/apimutexlock.c b/cpukit/score/src/apimutexlock.c index 91f6af3d03..d943bddf5d 100644 --- a/cpukit/score/src/apimutexlock.c +++ b/cpukit/score/src/apimutexlock.c @@ -43,4 +43,8 @@ void _API_Mutex_Lock( 0, level ); + + #if defined(RTEMS_SMP) + _Thread_Enable_dispatch(); + #endif } |