RTEMS  5.1
Data Structures | Macros | Typedefs | Functions | Variables
scheduler.h File Reference

Constants and Structures Associated with the Scheduler. More...

#include <rtems/score/thread.h>

Go to the source code of this file.

Data Structures

struct  Scheduler_Operations
 The scheduler operations. More...
 
struct  Scheduler_Context
 Scheduler context. More...
 
struct  _Scheduler_Control
 Scheduler control. More...
 

Macros

#define _Scheduler_Count   ( (size_t) 1 )
 Count of registered schedulers. More...
 
#define SCHEDULER_OPERATION_DEFAULT_ASK_FOR_HELP
 
#define SCHEDULER_OPERATION_DEFAULT_GET_SET_AFFINITY
 
#define PRIORITY_MAXIMUM   ( _Scheduler_Table[ 0 ].maximum_priority )
 This defines the lowest (least important) thread priority of the first scheduler instance.
 

Typedefs

typedef struct _Scheduler_Control Scheduler_Control
 
typedef struct Scheduler_Context Scheduler_Context
 Scheduler context. More...
 

Functions

Priority_Control _Scheduler_default_Map_priority (const Scheduler_Control *scheduler, Priority_Control priority)
 Returns the scheduler internal thread priority mapped by SCHEDULER_PRIORITY_MAP(). More...
 
Priority_Control _Scheduler_default_Unmap_priority (const Scheduler_Control *scheduler, Priority_Control priority)
 Returns the user visible thread priority unmapped by SCHEDULER_PRIORITY_UNMAP(). More...
 
void _Scheduler_default_Schedule (const Scheduler_Control *scheduler, Thread_Control *the_thread)
 Does nothing. More...
 
void _Scheduler_default_Node_initialize (const Scheduler_Control *scheduler, Scheduler_Node *node, Thread_Control *the_thread, Priority_Control priority)
 Performs the scheduler base node initialization. More...
 
void _Scheduler_default_Node_destroy (const Scheduler_Control *scheduler, Scheduler_Node *node)
 Does nothing. More...
 
void _Scheduler_default_Release_job (const Scheduler_Control *scheduler, Thread_Control *the_thread, Priority_Node *priority_node, uint64_t deadline, Thread_queue_Context *queue_context)
 Does nothing. More...
 
void _Scheduler_default_Cancel_job (const Scheduler_Control *scheduler, Thread_Control *the_thread, Priority_Node *priority_node, Thread_queue_Context *queue_context)
 Does nothing. More...
 
void _Scheduler_default_Tick (const Scheduler_Control *scheduler, Thread_Control *executing)
 Performs tick operations depending on the CPU budget algorithm for each executing thread. More...
 
void _Scheduler_default_Start_idle (const Scheduler_Control *scheduler, Thread_Control *the_thread, struct Per_CPU_Control *cpu)
 Starts an idle thread. More...
 

Variables

const Scheduler_Control _Scheduler_Table []
 Registered schedulers. More...
 

Detailed Description

Constants and Structures Associated with the Scheduler.

This include file contains all the constants and structures associated with the scheduler.