21 #ifndef _RTEMS_SCORE_SCHEDULERSIMPLEIMPL_H 22 #define _RTEMS_SCORE_SCHEDULERSIMPLEIMPL_H 61 const void *to_insert,
65 const unsigned int *priority_to_insert;
68 priority_to_insert = (
const unsigned int *) to_insert;
84 unsigned int insert_priority
RTEMS_INLINE_ROUTINE bool _Scheduler_simple_Priority_less_equal(const void *to_insert, const Chain_Node *next)
Checks if the priority is less or equal than the priority of the node.
Definition: schedulersimpleimpl.h:60
RTEMS_INLINE_ROUTINE void _Chain_Extract_unprotected(Chain_Node *the_node)
Extracts this node (unprotected).
Definition: chainimpl.h:558
RTEMS_INLINE_ROUTINE void _Scheduler_simple_Extract(const Scheduler_Control *scheduler, Thread_Control *the_thread, Scheduler_Node *node)
Extracts the threads node.
Definition: schedulersimpleimpl.h:102
RTEMS_INLINE_ROUTINE Scheduler_Context * _Scheduler_Get_context(const Scheduler_Control *scheduler)
Gets the context of the scheduler.
Definition: schedulerimpl.h:58
Inlined Routines Associated with the Manipulation of the Scheduler.
RTEMS_INLINE_ROUTINE void _Scheduler_simple_Insert(Chain_Control *chain, Thread_Control *to_insert, unsigned int insert_priority)
Inserts the thread control with the given priority into the chain.
Definition: schedulersimpleimpl.h:81
Simple scheduler context.
Definition: schedulersimple.h:68
Manipulation of Threads Simple-Priority-Based Ready Queue.
RTEMS_INLINE_ROUTINE void _Scheduler_Update_heir(Thread_Control *new_heir, bool force_dispatch)
Updates the heir.
Definition: schedulerimpl.h:1184
RTEMS_INLINE_ROUTINE Chain_Node * _Chain_First(const Chain_Control *the_chain)
Returns pointer to chain's first node.
Definition: chainimpl.h:260
RTEMS_INLINE_ROUTINE void _Scheduler_simple_Schedule_body(const Scheduler_Control *scheduler, Thread_Control *the_thread, bool force_dispatch)
Scheduling decision logic.
Definition: schedulersimpleimpl.h:124
Chain_Node Node
Definition: objectdata.h:41
Objects_Control Object
Definition: thread.h:734
RTEMS_INLINE_ROUTINE void _Chain_Insert_ordered_unprotected(Chain_Control *the_chain, Chain_Node *to_insert, const void *left, Chain_Node_order order)
Inserts a node into the chain according to the order relation.
Definition: chainimpl.h:864
unsigned context
Definition: tlb.h:108
Scheduler control.
Definition: scheduler.h:269
Scheduler node for per-thread data.
Definition: schedulernode.h:79
RTEMS_INLINE_ROUTINE Priority_Control _Thread_Get_priority(const Thread_Control *the_thread)
Returns the priority of the thread.
Definition: threadimpl.h:1584
RTEMS_INLINE_ROUTINE Scheduler_simple_Context * _Scheduler_simple_Get_context(const Scheduler_Control *scheduler)
Gets context of the scheduler.
Definition: schedulersimpleimpl.h:46
#define RTEMS_INLINE_ROUTINE
Definition: basedefs.h:66