Added new message priority parameter as returned by core support routine.

This commit is contained in:
Joel Sherrill
2000-01-05 22:13:15 +00:00
parent fc20c5398b
commit c0d405ca01
2 changed files with 14 additions and 10 deletions

View File

@@ -27,11 +27,12 @@ ER trcv_mbf(
TMO tmout TMO tmout
) )
{ {
ITRON_Message_buffer_Control *the_message_buffer; ITRON_Message_buffer_Control *the_message_buffer;
Objects_Locations location; Objects_Locations location;
CORE_message_queue_Status status; CORE_message_queue_Status status;
boolean wait; boolean wait;
Watchdog_Interval interval; Watchdog_Interval interval;
CORE_message_queue_Submit_types core_priority;
interval = 0; interval = 0;
if (tmout == TMO_POL) { if (tmout == TMO_POL) {
@@ -61,6 +62,7 @@ ER trcv_mbf(
msg, msg,
p_msgsz, p_msgsz,
wait, wait,
&core_priority,
interval interval
); );
_Thread_Enable_dispatch(); _Thread_Enable_dispatch();

View File

@@ -27,11 +27,12 @@ ER trcv_mbf(
TMO tmout TMO tmout
) )
{ {
ITRON_Message_buffer_Control *the_message_buffer; ITRON_Message_buffer_Control *the_message_buffer;
Objects_Locations location; Objects_Locations location;
CORE_message_queue_Status status; CORE_message_queue_Status status;
boolean wait; boolean wait;
Watchdog_Interval interval; Watchdog_Interval interval;
CORE_message_queue_Submit_types core_priority;
interval = 0; interval = 0;
if (tmout == TMO_POL) { if (tmout == TMO_POL) {
@@ -61,6 +62,7 @@ ER trcv_mbf(
msg, msg,
p_msgsz, p_msgsz,
wait, wait,
&core_priority,
interval interval
); );
_Thread_Enable_dispatch(); _Thread_Enable_dispatch();