RTEMS CPU Kit with SuperCore
4.11.2
|
Thread Manipulation with the Priority-Based Scheduler. More...
#include <rtems/score/chain.h>
#include <rtems/score/prioritybitmap.h>
#include <rtems/score/scheduler.h>
Go to the source code of this file.
Data Structures | |
struct | Scheduler_priority_Context |
struct | Scheduler_priority_Ready_queue |
Data for ready queue operations. More... | |
struct | Scheduler_priority_Node |
Scheduler node specialization for Deterministic Priority schedulers. More... | |
Macros | |
#define | SCHEDULER_PRIORITY_ENTRY_POINTS |
Entry points for the Deterministic Priority Based Scheduler. More... | |
Functions | |
void | _Scheduler_priority_Initialize (const Scheduler_Control *scheduler) |
Initializes the priority scheduler. More... | |
void | _Scheduler_priority_Block (const Scheduler_Control *scheduler, Thread_Control *the_thread) |
Removes the_thread from the scheduling decision. More... | |
void | _Scheduler_priority_Schedule (const Scheduler_Control *scheduler, Thread_Control *the_thread) |
Sets the heir thread to be the next ready thread. More... | |
void | _Scheduler_priority_Update_priority (const Scheduler_Control *scheduler, Thread_Control *the_thread, Priority_Control new_priority) |
Updates the scheduler node to reflect the new priority of the thread. | |
Scheduler_Void_or_thread | _Scheduler_priority_Unblock (const Scheduler_Control *scheduler, Thread_Control *the_thread) |
Add the_thread to the scheduling decision. More... | |
Scheduler_Void_or_thread | _Scheduler_priority_Change_priority (const Scheduler_Control *scheduler, Thread_Control *the_thread, Priority_Control new_priority, bool prepend_it) |
Scheduler_Void_or_thread | _Scheduler_priority_Yield (const Scheduler_Control *scheduler, Thread_Control *the_thread) |
The specified THREAD yields. More... | |
int | _Scheduler_priority_Priority_compare (Priority_Control p1, Priority_Control p2) |
Compare two priorities. More... | |
Thread Manipulation with the Priority-Based Scheduler.
This include file contains all the constants and structures associated with the manipulation of threads for the priority-based scheduler.