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
)
{
ITRON_Message_buffer_Control *the_message_buffer;
Objects_Locations location;
CORE_message_queue_Status status;
boolean wait;
Watchdog_Interval interval;
ITRON_Message_buffer_Control *the_message_buffer;
Objects_Locations location;
CORE_message_queue_Status status;
boolean wait;
Watchdog_Interval interval;
CORE_message_queue_Submit_types core_priority;
interval = 0;
if (tmout == TMO_POL) {
@@ -61,6 +62,7 @@ ER trcv_mbf(
msg,
p_msgsz,
wait,
&core_priority,
interval
);
_Thread_Enable_dispatch();

View File

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