RTEMS: cpukit/include/rtems/score/scheduler.h File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Structures | Macros | Typedefs | Functions | Variables
scheduler.h File Reference
Internal » SuperCore » Scheduler Handler

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.
#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.

## 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().
Priority_Control | _Scheduler_default_Unmap_priority (const Scheduler_Control *scheduler, Priority_Control priority)
| Returns the user visible thread priority unmapped by SCHEDULER_PRIORITY_UNMAP().
void | _Scheduler_default_Schedule (const Scheduler_Control *scheduler, Thread_Control *the_thread)
| Does nothing.
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.
void | _Scheduler_default_Node_destroy (const Scheduler_Control *scheduler, Scheduler_Node *node)
| Does nothing.
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.
void | _Scheduler_default_Cancel_job (const Scheduler_Control *scheduler, Thread_Control *the_thread, Priority_Node *priority_node, Thread_queue_Context *queue_context)
| Does nothing.
void | _Scheduler_default_Tick (const Scheduler_Control *scheduler, Thread_Control *executing)
| Performs tick operations depending on the CPU budget algorithm for each executing thread.
void | _Scheduler_default_Start_idle (const Scheduler_Control *scheduler, Thread_Control *the_thread, struct Per_CPU_Control *cpu)
| Starts an idle thread.

## Variables
const Scheduler_Control | _Scheduler_Table []
| Registered schedulers.

## Detailed Description

Constants and Structures Associated with the Scheduler.

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