RTEMS
5.0.0
|
Data Structures | |
struct | Scheduler_simple_Context |
Simple scheduler context. More... | |
Macros | |
#define | SCHEDULER_SIMPLE_MAXIMUM_PRIORITY 255 |
#define | SCHEDULER_SIMPLE_ENTRY_POINTS |
Functions | |
void | _Scheduler_simple_Initialize (const Scheduler_Control *scheduler) |
Initialize simple scheduler. More... | |
void | _Scheduler_simple_Schedule (const Scheduler_Control *scheduler, Thread_Control *the_thread) |
void | _Scheduler_simple_Yield (const Scheduler_Control *scheduler, Thread_Control *the_thread, Scheduler_Node *node) |
void | _Scheduler_simple_Block (const Scheduler_Control *scheduler, Thread_Control *the_thread, Scheduler_Node *node) |
void | _Scheduler_simple_Unblock (const Scheduler_Control *scheduler, Thread_Control *the_thread, Scheduler_Node *node) |
void | _Scheduler_simple_Update_priority (const Scheduler_Control *scheduler, Thread_Control *the_thread, Scheduler_Node *node) |
RTEMS_INLINE_ROUTINE Scheduler_simple_Context * | _Scheduler_simple_Get_context (const Scheduler_Control *scheduler) |
RTEMS_INLINE_ROUTINE bool | _Scheduler_simple_Priority_less_equal (const void *to_insert, const Chain_Node *next) |
RTEMS_INLINE_ROUTINE void | _Scheduler_simple_Insert (Chain_Control *chain, Thread_Control *to_insert, unsigned int insert_priority) |
RTEMS_INLINE_ROUTINE void | _Scheduler_simple_Extract (const Scheduler_Control *scheduler, Thread_Control *the_thread, Scheduler_Node *node) |
RTEMS_INLINE_ROUTINE void | _Scheduler_simple_Schedule_body (const Scheduler_Control *scheduler, Thread_Control *the_thread, bool force_dispatch) |
#define SCHEDULER_SIMPLE_ENTRY_POINTS |
Entry points for Scheduler Simple
void _Scheduler_simple_Initialize | ( | const Scheduler_Control * | scheduler | ) |
Initialize simple scheduler.
This routine initializes the simple scheduler.
void _Scheduler_simple_Schedule | ( | const Scheduler_Control * | scheduler, |
Thread_Control * | the_thread | ||
) |
This routine sets the heir thread to be the next ready thread on the ready queue by getting the first node in the scheduler information.
[in] | scheduler | The scheduler instance. |
[in] | the_thread | causing the scheduling operation. |