[RTEMS Project] #2471: Race condition on SMP for events and timeouts

RTEMS trac trac at rtems.org
Tue Nov 17 06:49:18 UTC 2015


#2471: Race condition on SMP for events and timeouts
-------------------------+-------------------------------------------------
 Reporter:               |       Owner:  Sebastian Huber
  sebastian.huber        |  <sebastian.huber@…>
     Type:  defect       |      Status:  closed
 Priority:  normal       |   Milestone:  4.11
Component:  SMP          |     Version:  4.11
 Severity:  normal       |  Resolution:  fixed
 Keywords:               |
-------------------------+-------------------------------------------------
Changes (by Sebastian Huber <sebastian.huber@…>):

 * owner:   => Sebastian Huber <sebastian.huber@…>
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"72857659c1f8fc71da4a30833caab583a2cfac6d/rtems"]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="72857659c1f8fc71da4a30833caab583a2cfac6d"
 score: Fix race condition on SMP

 We must ensure that the Thread_Control::Wait information update is
 visible to the target thread before we update its wait flags, otherwise
 we may return out of date events or a wrong status.

 Close #2471.
 }}}

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


More information about the bugs mailing list