forked from Imagelibrary/rtems
Added new message priority parameter as returned by core support routine.
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user