RTEMS
5.1
|
The priority aggregation. More...
#include <priority.h>
Data Fields | |
Priority_Node | Node |
This priority node reflects the overall priority of the aggregation. More... | |
RBTree_Control | Contributors |
A red-black tree to contain priority nodes contributing to the overall priority of this priority aggregation. | |
struct { | |
Priority_Node * node | |
The priority node of the action. | |
Priority_Action_type type | |
The type of the action. | |
} | Action |
A priority action block to manage priority node additions, changes and removals. | |
The priority aggregation.
This structure serves two purposes. Firstly, it provides a place to register priority nodes and reflects the overall priority of its contributors. Secondly, it provides an action block to signal addition, change and removal of a priority node.
Priority_Node Priority_Aggregation::Node |
This priority node reflects the overall priority of the aggregation.
The overall priority of the aggregation is the minimum priority of the priority nodes in the contributors tree.
This priority node may be used to add this aggregation to another aggregation to build up a recursive priority scheme.
In case priority nodes of the contributors tree are added, changed or removed the priority of this node may change. To signal such changes to a priority aggregation the action block may be used.