summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-01-05 22:14:09 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-01-05 22:14:09 +0000
commit28adcfd9ecfe964117c6b26eeaa8a42620ec63a0 (patch)
treee78225e1c40b5579da268072bb5f59469d68d4a5 /cpukit/rtems/src
parentAdded new message priority parameter as returned by core support routine. (diff)
downloadrtems-28adcfd9ecfe964117c6b26eeaa8a42620ec63a0.tar.bz2
Added message priority parameter returned by core support routine.
Diffstat (limited to 'cpukit/rtems/src')
-rw-r--r--cpukit/rtems/src/msgqreceive.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/rtems/src/msgqreceive.c b/cpukit/rtems/src/msgqreceive.c
index b078049276..1338216c6b 100644
--- a/cpukit/rtems/src/msgqreceive.c
+++ b/cpukit/rtems/src/msgqreceive.c
@@ -60,7 +60,8 @@ rtems_status_code rtems_message_queue_receive(
register Message_queue_Control *the_message_queue;
Objects_Locations location;
boolean wait;
-
+ CORE_message_queue_Submit_types core_priority;
+
the_message_queue = _Message_queue_Get( id, &location );
switch ( location ) {
@@ -91,6 +92,7 @@ rtems_status_code rtems_message_queue_receive(
buffer,
size,
wait,
+ &core_priority,
timeout
);
_Thread_Enable_dispatch();