23 #ifndef _RTEMS_SCORE_SCHEDULERNODE_H 24 #define _RTEMS_SCORE_SCHEDULERNODE_H 43 #if defined(RTEMS_SMP) 80 #if defined(RTEMS_SMP) 125 #if defined(RTEMS_SMP) 201 #if defined(RTEMS_SMP) 210 #if defined(RTEMS_SMP) 219 #if defined(RTEMS_SMP) 220 #define SCHEDULER_NODE_OF_THREAD_WAIT_NODE( node ) \ 221 RTEMS_CONTAINER_OF( node, Scheduler_Node, Thread.Wait_node ) 223 #define SCHEDULER_NODE_OF_THREAD_SCHEDULER_NODE( node ) \ 224 RTEMS_CONTAINER_OF( node, Scheduler_Node, Thread.Scheduler_node.Chain ) The priority aggregation.
int sticky_level
The sticky level determines if this scheduler node should use an idle thread in case this node is sch...
uint64_t Priority_Control
The thread priority control.
SMP_sequence_lock_Control Lock
Sequence lock to synchronize priority value updates.
Scheduler_Node * next_request
Link to the next scheduler node in the Thread_Control::Scheduler::requests list.
union Scheduler_Node::@18 Node
Chain node for usage in various scheduler data structures.
Scheduler_Node_request
The scheduler node requests.
struct Scheduler_Node::@19 Thread
Block to register and manage this scheduler node in the thread control block of the owner of this sch...
Scheduler_Node_request request
The current scheduler node request.
There is a pending scheduler node request to remove this scheduler node from the Thread_Control::Sche...
struct _Thread_Control * idle
The idle thread claimed by this node in case the sticky level is greater than zero and the thread is ...
There is a pending scheduler node request to add this scheduler node to the Thread_Control::Scheduler...
Chain_Node Wait_node
Node to add this scheduler node to Thread_Control::Scheduler::Wait_nodes.
struct _Thread_Control * user
The thread using this node.
The scheduler node is not on the list of pending requests.
struct _Thread_Control * owner
The thread owning this node.
SMP sequence lock control.
const size_t _Scheduler_Node_size
The size of a scheduler node.
struct Scheduler_Node::@20 Wait
Thread wait support block.
Scheduler node for per-thread data.
This header file provides basic definitions used by the API and the implementation.
Scheduler_Node * next
The next pointer for a temporary remove list.
Chain_Node Chain
The node for Thread_Control::Scheduler::Scheduler_nodes.
The scheduler node is on the list of pending requests, but nothing should change. ...
union Scheduler_Node::@19::@22 Scheduler_node
Node to add this scheduler node to Thread_Control::Scheduler::Scheduler_nodes or a temporary remove l...
Priority_Control value
The thread priority value of this scheduler node.