summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/src/coresem.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 /c/src/exec/score/src/coresem.c
parentupdated for 3.5.02 snapshot (diff)
downloadrtems-67d224af9e8d4cf07cf6c2bb3197b3dd7a90f2e7.tar.bz2
added correct use of _Thread_queue_Enter_critical_section
Diffstat (limited to 'c/src/exec/score/src/coresem.c')
-rw-r--r--c/src/exec/score/src/coresem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/exec/score/src/coresem.c b/c/src/exec/score/src/coresem.c
index e9d44369d5..5fc55b5359 100644
--- a/c/src/exec/score/src/coresem.c
+++ b/c/src/exec/score/src/coresem.c
@@ -146,7 +146,7 @@ void _CORE_semaphore_Seize(
return;
}
- the_semaphore->Wait_queue.sync = TRUE;
+ _Thread_queue_Enter_critical_section( &the_semaphore->Wait_queue );
executing->Wait.queue = &the_semaphore->Wait_queue;
executing->Wait.id = id;
_ISR_Enable( level );