summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src
diff options
context:
space:
mode:
authorJennifer Averett <Jennifer.Averett@OARcorp.com>2000-01-05 17:18:08 +0000
committerJennifer Averett <Jennifer.Averett@OARcorp.com>2000-01-05 17:18:08 +0000
commit58243b42f5664cbdb4349b731f12a7815777575e (patch)
tree9dc6175dc88c9c0c56c1e42fdd2b74f04b83ab54 /cpukit/score/src
parent65800393f6f1d68e0ee6c962cf8f6b4e85cb24a8 (diff)
downloadrtems-58243b42f5664cbdb4349b731f12a7815777575e.tar.bz2
+ Added return of the message priority.
Diffstat (limited to 'cpukit/score/src')
-rw-r--r--cpukit/score/src/coremsgseize.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/cpukit/score/src/coremsgseize.c b/cpukit/score/src/coremsgseize.c
index 31d114ac07..62658e5723 100644
--- a/cpukit/score/src/coremsgseize.c
+++ b/cpukit/score/src/coremsgseize.c
@@ -56,12 +56,13 @@
*/
void _CORE_message_queue_Seize(
- CORE_message_queue_Control *the_message_queue,
- Objects_Id id,
- void *buffer,
- unsigned32 *size,
- boolean wait,
- Watchdog_Interval timeout
+ CORE_message_queue_Control *the_message_queue,
+ Objects_Id id,
+ void *buffer,
+ unsigned32 *size,
+ boolean wait,
+ CORE_message_queue_Submit_types *priority,
+ Watchdog_Interval timeout
)
{
ISR_Level level;
@@ -77,6 +78,7 @@ void _CORE_message_queue_Seize(
the_message = _CORE_message_queue_Get_pending_message( the_message_queue );
_ISR_Enable( level );
*size = the_message->Contents.size;
+ *priority = the_message->priority;
_CORE_message_queue_Copy_buffer(the_message->Contents.buffer,buffer,*size );
_CORE_message_queue_Free_message_buffer(the_message_queue, the_message );
return;