Changeset 300f6a48 in rtems for cpukit/posix/src

Timestamp:
06/22/16 15:09:23 (8 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
5d6b211
Parents:
8c83cbc
git-author:
Sebastian Huber <sebastian.huber@…> (06/22/16 15:09:23)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/21/16 06:59:26)
Message:

score: Rework thread priority management

Add priority nodes which contribute to the overall thread priority.

The actual priority of a thread is now an aggregation of priority nodes.
The thread priority aggregation for the home scheduler instance of a
thread consists of at least one priority node, which is normally the
real priority of the thread. The locking protocols (e.g. priority
ceiling and priority inheritance), rate-monotonic period objects and the
POSIX sporadic server add, change and remove priority nodes.

A thread changes its priority now immediately, e.g. priority changes are
not deferred until the thread releases its last resource.

Replace the _Thread_Change_priority() function with

  • _Thread_Priority_perform_actions(),
  • _Thread_Priority_add(),
  • _Thread_Priority_remove(),
  • _Thread_Priority_change(), and
  • _Thread_Priority_update().

Update #2412.
Update #2556.

(No files)

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