[RTEMS Project] #4509: Message queue priority dicipline is broken in SMP configurations

RTEMS trac trac at rtems.org
Thu Sep 2 05:48:08 UTC 2021


#4509: Message queue priority dicipline is broken in SMP configurations
-----------------------------+------------------------------
 Reporter:  Sebastian Huber  |       Owner:  Sebastian Huber
     Type:  defect           |      Status:  closed
 Priority:  normal           |   Milestone:  6.1
Component:  score            |     Version:  4.11
 Severity:  normal           |  Resolution:  fixed
 Keywords:                   |  Blocked By:
 Blocking:                   |
-----------------------------+------------------------------
Changes (by Sebastian Huber <sebastian.huber@…>):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"d9249c9bffe4238e3853996d1f0758d9f55fbe67/rtems"
 d9249c9/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="d9249c9bffe4238e3853996d1f0758d9f55fbe67"
 score: Fix blocking message queue receive

 In order to ensure FIFO fairness across schedulers, the thread queue
 surrender operation must be used to dequeue a thread from the thread
 queue.  The thread queue extract operation is intended for timeouts.

 Add _Thread_queue_Resume() which may be used to make extracted or
 surrendered threads ready again.

 Remove the now unused _Thread_queue_Extract_critical() function.

 Close #4509.
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/4509#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list