From 28adcfd9ecfe964117c6b26eeaa8a42620ec63a0 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 5 Jan 2000 22:14:09 +0000 Subject: Added message priority parameter returned by core support routine. --- cpukit/rtems/src/msgqreceive.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cpukit/rtems') 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(); -- cgit v1.2.3