Changeset ff2e6c64 in rtems

Timestamp:
08/02/16 09:26:56 (8 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
21bdca4
Parents:
3b3552bf
git-author:
Sebastian Huber <sebastian.huber@…> (08/02/16 09:26:56)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/03/16 11:57:30)
Message:

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.

(No files)

Note: See TracChangeset for help on using the changeset viewer.