18 #ifndef _RTEMS_SCORE_SCHEDULERSIMPLE_H 19 #define _RTEMS_SCORE_SCHEDULERSIMPLE_H 38 #define SCHEDULER_SIMPLE_ENTRY_POINTS \ 40 _Scheduler_simple_Initialize, \ 41 _Scheduler_simple_Schedule, \ 42 _Scheduler_simple_Yield, \ 43 _Scheduler_simple_Block, \ 44 _Scheduler_simple_Unblock, \ 45 _Scheduler_simple_Change_priority, \ 46 SCHEDULER_OPERATION_DEFAULT_ASK_FOR_HELP \ 47 _Scheduler_default_Node_initialize, \ 48 _Scheduler_default_Node_destroy, \ 49 _Scheduler_default_Update_priority, \ 50 _Scheduler_priority_Priority_compare, \ 51 _Scheduler_default_Release_job, \ 52 _Scheduler_default_Tick, \ 53 _Scheduler_default_Start_idle \ 54 SCHEDULER_OPERATION_DEFAULT_GET_SET_AFFINITY \ 145 Scheduler_Void_or_thread _Scheduler_simple_Change_priority(
Scheduler_Void_or_thread _Scheduler_simple_Yield(const Scheduler_Control *scheduler, Thread_Control *the_thread)
Invoked when a thread wishes to voluntarily transfer control of the processor to another thread in th...
Definition: schedulersimpleyield.c:23
Scheduler control.
Definition: scheduler.h:192
Scheduler_Context Base
Basic scheduler context.
Definition: schedulersimple.h:64
Scheduler context.
Definition: scheduler.h:180
Chain_Control Ready
One ready queue for all ready threads.
Definition: schedulersimple.h:69
This is used to manage a chain.
Definition: chain.h:83
Thread Manipulation with the Priority-Based Scheduler.
Scheduler_Void_or_thread _Scheduler_simple_Unblock(const Scheduler_Control *scheduler, Thread_Control *the_thread)
Unblock a simple-priority-based thread.
Definition: schedulersimpleunblock.c:24
Simple scheduler context.
Definition: schedulersimple.h:60
uint32_t Priority_Control
The following type defines the control block used to manage thread priorities.
Definition: priority.h:56
This structure defines the Thread Control Block (TCB).
Definition: thread.h:671
Constants and Structures Associated with the Scheduler.
void _Scheduler_simple_Initialize(const Scheduler_Control *scheduler)
Initialize simple scheduler.
Definition: schedulersimple.c:25
void _Scheduler_simple_Block(const Scheduler_Control *scheduler, Thread_Control *the_thread)
Remove a simple-priority-based thread from the queue.
Definition: schedulersimpleblock.c:24
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...
Definition: schedulersimpleschedule.c:23