RTEMS 6.3
Loading...
Searching...
No Matches
schedulersmpimpl.h File Reference

This header file provides interfaces of the SMP Scheduler which are only used by the implementation. More...

Go to the source code of this file.

Typedefs

typedef bool(*) Scheduler_SMP_Has_ready(Scheduler_Context *context)
typedef Scheduler_Node *(*) Scheduler_SMP_Get_highest_ready(Scheduler_Context *context, Scheduler_Node *filter)
typedef Scheduler_Node *(*) Scheduler_SMP_Get_lowest_ready(Scheduler_Context *context)
typedef Scheduler_Node *(*) Scheduler_SMP_Get_lowest_scheduled(Scheduler_Context *context, Scheduler_Node *filter)
typedef void(*) Scheduler_SMP_Extract(Scheduler_Context *context, Scheduler_Node *node_to_extract)
typedef void(*) Scheduler_SMP_Insert(Scheduler_Context *context, Scheduler_Node *node_to_insert, Priority_Control insert_priority)
typedef void(*) Scheduler_SMP_Move(Scheduler_Context *context, Scheduler_Node *node_to_move)
typedef bool(*) Scheduler_SMP_Ask_for_help(Scheduler_Context *context, Thread_Control *thread, Scheduler_Node *node)
typedef void(*) Scheduler_SMP_Update(Scheduler_Context *context, Scheduler_Node *node_to_update, Priority_Control new_priority)
typedef void(*) Scheduler_SMP_Set_affinity(Scheduler_Context *context, Scheduler_Node *node, void *arg)
typedef bool(*) Scheduler_SMP_Enqueue(Scheduler_Context *context, Scheduler_Node *node_to_enqueue, Priority_Control priority)
typedef void(*) Scheduler_SMP_Enqueue_scheduled(Scheduler_Context *context, Scheduler_Node *node_to_enqueue, Priority_Control priority)
typedef void(*) Scheduler_SMP_Allocate_processor(Scheduler_Context *context, Scheduler_Node *scheduled, Per_CPU_Control *cpu)
typedef void(*) Scheduler_SMP_Register_idle(Scheduler_Context *context, Scheduler_Node *idle, Per_CPU_Control *cpu)

Enumerations

enum  Scheduler_SMP_Action { SCHEDULER_SMP_DO_SCHEDULE , SCHEDULER_SMP_DO_NOT_SCHEDULE }
 This enumeration defines what a scheduler should do with a node which could be scheduled.

Functions

void _Scheduler_SMP_Remove_ask_for_help_from_processor (Thread_Control *thread, Per_CPU_Control *cpu)
 Removes the thread's ask for help request from the processor.

Detailed Description

This header file provides interfaces of the SMP Scheduler which are only used by the implementation.