Changeset 900d337f in rtems for cpukit/posix

Timestamp:
05/05/15 11:05:54 (9 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
80f376d
Parents:
4438ac25
git-author:
Sebastian Huber <sebastian.huber@…> (05/05/15 11:05:54)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/19/15 10:00:47)
Message:

score: Rework _Thread_Change_priority()

Move the writes to Thread_Control::current_priority and
Thread_Control::real_priority into _Thread_Change_priority() under the
protection of the thread lock. Add a filter function to
_Thread_Change_priority() to enable specialized variants.

Avoid race conditions during a thread priority restore with the new
Thread_Control::priority_restore_hint for an important average case
optimizations used by priority inheritance mutexes.

Update #2273.

(No files)

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