summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems
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/rtems
parentupdated for 3.5.02 snapshot (diff)
downloadrtems-67d224af9e8d4cf07cf6c2bb3197b3dd7a90f2e7.tar.bz2
added correct use of _Thread_queue_Enter_critical_section
Diffstat (limited to 'cpukit/rtems')
-rw-r--r--cpukit/rtems/src/region.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/rtems/src/region.c b/cpukit/rtems/src/region.c
index d0720f5040..5a8ad26797 100644
--- a/cpukit/rtems/src/region.c
+++ b/cpukit/rtems/src/region.c
@@ -355,7 +355,7 @@ rtems_status_code rtems_region_get_segment(
executing->Wait.count = size;
executing->Wait.return_argument = (unsigned32 *) segment;
- the_region->Wait_queue.sync = TRUE;
+ _Thread_queue_Enter_critical_section( &the_region->Wait_queue );
_Thread_queue_Enqueue( &the_region->Wait_queue, timeout );