[RTEMS Project] #2328: _CORE_message_queue_Insert_message() not ISR proof

RTEMS trac trac at rtems.org
Fri Apr 17 11:34:17 UTC 2015


#2328: _CORE_message_queue_Insert_message() not ISR proof
-----------------------------+--------------------
 Reporter:  sebastian.huber  |      Owner:
     Type:  defect           |     Status:  new
 Priority:  normal           |  Milestone:  4.11.1
Component:  General          |    Version:  4.11
 Severity:  normal           |   Keywords:
-----------------------------+--------------------
 In case the submit type is not CORE_MESSAGE_QUEUE_SEND_REQUEST or
 CORE_MESSAGE_QUEUE_URGENT_REQUEST, then we insert the message in priority
 order.  The linear search is not atomic, thus message insertions by higher
 priority interrupts will corrupt it.

--
Ticket URL: <http://devel.rtems.org/ticket/2328>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list