summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/coremutex.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1995-12-08 21:06:15 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1995-12-08 21:06:15 +0000
commit67d224af9e8d4cf07cf6c2bb3197b3dd7a90f2e7 (patch)
treeee25c37cae8080eb980a519d84c98e67e61d3360 /cpukit/score/src/coremutex.c
parentupdated for 3.5.02 snapshot (diff)
downloadrtems-67d224af9e8d4cf07cf6c2bb3197b3dd7a90f2e7.tar.bz2
added correct use of _Thread_queue_Enter_critical_section
Diffstat (limited to 'cpukit/score/src/coremutex.c')
-rw-r--r--cpukit/score/src/coremutex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/coremutex.c b/cpukit/score/src/coremutex.c
index 321b4da5ed..08d1630b7f 100644
--- a/cpukit/score/src/coremutex.c
+++ b/cpukit/score/src/coremutex.c
@@ -139,7 +139,7 @@ void _CORE_mutex_Seize(
return;
}
- the_mutex->Wait_queue.sync = TRUE;
+ _Thread_queue_Enter_critical_section( &the_mutex->Wait_queue );
executing->Wait.queue = &the_mutex->Wait_queue;
executing->Wait.id = id;
_ISR_Enable( level );