diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-12-08 21:06:15 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-12-08 21:06:15 +0000 |
commit | 67d224af9e8d4cf07cf6c2bb3197b3dd7a90f2e7 (patch) | |
tree | ee25c37cae8080eb980a519d84c98e67e61d3360 /cpukit/score/src | |
parent | updated for 3.5.02 snapshot (diff) | |
download | rtems-67d224af9e8d4cf07cf6c2bb3197b3dd7a90f2e7.tar.bz2 |
added correct use of _Thread_queue_Enter_critical_section
Diffstat (limited to 'cpukit/score/src')
-rw-r--r-- | cpukit/score/src/coremsg.c | 2 | ||||
-rw-r--r-- | cpukit/score/src/coremutex.c | 2 | ||||
-rw-r--r-- | cpukit/score/src/coresem.c | 2 | ||||
-rw-r--r-- | cpukit/score/src/mpci.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/score/src/coremsg.c b/cpukit/score/src/coremsg.c index 0b7a88b1b9..05e4fb799d 100644 --- a/cpukit/score/src/coremsg.c +++ b/cpukit/score/src/coremsg.c @@ -284,7 +284,7 @@ void _CORE_message_queue_Seize( return; } - the_message_queue->Wait_queue.sync = TRUE; + _Thread_queue_Enter_critical_section( &the_message_queue->Wait_queue ); executing->Wait.queue = &the_message_queue->Wait_queue; executing->Wait.id = id; executing->Wait.return_argument = (void *)buffer; 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 ); diff --git a/cpukit/score/src/coresem.c b/cpukit/score/src/coresem.c index e9d44369d5..5fc55b5359 100644 --- a/cpukit/score/src/coresem.c +++ b/cpukit/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 ); diff --git a/cpukit/score/src/mpci.c b/cpukit/score/src/mpci.c index 7887fe355e..08b8eff9ba 100644 --- a/cpukit/score/src/mpci.c +++ b/cpukit/score/src/mpci.c @@ -195,7 +195,7 @@ unsigned32 _MPCI_Send_request_packet ( (*_MPCI_table->send_packet)( destination, the_packet ); - _MPCI_Remote_blocked_threads.sync = TRUE; + _Thread_queue_Enter_critical_section( &_MPCI_Remote_blocked_threads ); /* * See if we need a default timeout |