#3986 assigned defect

4.10: CORE_message_queue_Send timeout failure?

Reported by: Gedare Bloom Owned by: Gedare Bloom
Priority: normal Milestone: 4.10.3
Component: score Version: 4.10
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description (last modified by Gedare Bloom)

EPICS developers report:

I notice that the only internal usage of _CORE_message_queue_Send() in RTEMS is in rtems_message_queue_send(), where it never blocks (wait=0). So this might be a bug in the wait=1 case.

https://git.rtems.org/rtems/tree/cpukit/score/src/coremsgsubmit.c?h=4.10#n132

By manual code inspection, I think POSIX mq_timedsend goes through the wait path. But there is no wait path for classic message queues.

The question also arises whether this use case should be supported for classic mqs: Block on send() with timeout when mq full.

Change History (1)

comment:1 Changed on May 26, 2020 at 2:44:36 PM by Gedare Bloom

Description: modified (diff)
Note: See TracTickets for help on using tickets.