summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/src/coremutex.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-07-03 15:49:58 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-07-03 15:49:58 +0000
commit0147d5ee73ca04e767479374c59f855c5832c246 (patch)
treec09ca60c4e3085bb8b04ec37983a32918f2be446 /c/src/exec/score/src/coremutex.c
parentChanged extra_system_initialization_stack to extra_mpci_receive_server_stack (diff)
downloadrtems-0147d5ee73ca04e767479374c59f855c5832c246.tar.bz2
Added blocked_count field to allow for optimizations.
Diffstat (limited to '')
-rw-r--r--c/src/exec/score/src/coremutex.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/c/src/exec/score/src/coremutex.c b/c/src/exec/score/src/coremutex.c
index a5842efb91..ef2c21adc6 100644
--- a/c/src/exec/score/src/coremutex.c
+++ b/c/src/exec/score/src/coremutex.c
@@ -54,8 +54,9 @@ void _CORE_mutex_Initialize(
initial_lock == CORE_MUTEX_UNLOCKED );
*/
- the_mutex->Attributes = *the_mutex_attributes;
- the_mutex->lock = initial_lock;
+ the_mutex->Attributes = *the_mutex_attributes;
+ the_mutex->lock = initial_lock;
+ the_mutex->blocked_count = 0;
#if 0
if ( !the_mutex_attributes->only_owner_release &&