[RTEMS Project] #2556: Implement the O(m) Independence-Preserving Protocol (OMIP)

RTEMS trac trac at rtems.org
Wed Aug 3 11:58:01 UTC 2016


#2556: Implement the O(m) Independence-Preserving Protocol (OMIP)
-----------------------------+------------------------------
 Reporter:  sebastian.huber  |       Owner:  sebastian.huber
     Type:  enhancement      |      Status:  accepted
 Priority:  normal           |   Milestone:  4.12
Component:  cpukit           |     Version:  4.12
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by Sebastian Huber <sebastian.huber@…>):

 In [changeset:"ff2e6c647d166fa54769f3c300855ef7f8020668/rtems"]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="ff2e6c647d166fa54769f3c300855ef7f8020668"
 score: Fix and simplify thread wait locks

 There was a subtile race condition in _Thread_queue_Do_extract_locked().
 It must first update the thread wait flags and then restore the default
 thread wait state.  In the previous implementation this could lead under
 rare timing conditions to an ineffective _Thread_Wait_tranquilize()
 resulting to a corrupt system state.

 Update #2556.
 }}}

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


More information about the bugs mailing list