RTEMS
|
The scheduler operations. More...
#include <scheduler.h>
The scheduler operations.
Definition at line 43 of file scheduler.h.
void( * Scheduler_Operations::add_processor) (const Scheduler_Control *scheduler, Thread_Control *idle) |
Add processor operation.
[in] | scheduler | The scheduler instance to add the processor. |
[in] | idle | The idle thread of the processor to add. |
Definition at line 173 of file scheduler.h.
bool( * Scheduler_Operations::ask_for_help) (const Scheduler_Control *scheduler, Thread_Control *the_thread, Scheduler_Node *node) |
Ask for help operation.
[in] | scheduler | The scheduler instance to ask for help. |
[in] | the_thread | The thread needing help. |
[in] | node | The scheduler node. |
true | Ask for help was successful. |
false | Otherwise. |
Definition at line 101 of file scheduler.h.
void( * Scheduler_Operations::block) (const Scheduler_Control *, Thread_Control *, Scheduler_Node *) |
Definition at line 58 of file scheduler.h.
void( * Scheduler_Operations::cancel_job) (const Scheduler_Control *, Thread_Control *, Priority_Node *, Thread_queue_Context *) |
Definition at line 213 of file scheduler.h.
void( * Scheduler_Operations::initialize) (const Scheduler_Control *) |
Definition at line 45 of file scheduler.h.
Priority_Control( * Scheduler_Operations::map_priority) (const Scheduler_Control *, Priority_Control) |
Definition at line 79 of file scheduler.h.
void( * Scheduler_Operations::node_destroy) (const Scheduler_Control *, Scheduler_Node *) |
Definition at line 201 of file scheduler.h.
void( * Scheduler_Operations::node_initialize) (const Scheduler_Control *, Scheduler_Node *, Thread_Control *, Priority_Control) |
Definition at line 193 of file scheduler.h.
void( * Scheduler_Operations::pin) (const Scheduler_Control *scheduler, Thread_Control *the_thread, Scheduler_Node *node, struct Per_CPU_Control *cpu) |
Pin thread operation.
[in] | scheduler | The scheduler instance of the specified processor. |
[in] | the_thread | The thread to pin. |
[in] | node | The scheduler node of the thread. |
[in] | cpu | The processor to pin the thread. |
Definition at line 145 of file scheduler.h.
void( * Scheduler_Operations::reconsider_help_request) (const Scheduler_Control *scheduler, Thread_Control *the_thread, Scheduler_Node *node) |
Reconsider help operation.
[in] | scheduler | The scheduler instance to reconsider the help request. |
[in] | the_thread | The thread reconsidering a help request. |
[in] | node | The scheduler node. |
Definition at line 115 of file scheduler.h.
void( * Scheduler_Operations::release_job) (const Scheduler_Control *, Thread_Control *, Priority_Node *, uint64_t, Thread_queue_Context *) |
Definition at line 204 of file scheduler.h.
Thread_Control*( * Scheduler_Operations::remove_processor) (const Scheduler_Control *scheduler, struct Per_CPU_Control *cpu) |
Remove processor operation.
[in] | scheduler | The scheduler instance to remove the processor. |
[in] | cpu | The processor to remove. |
Definition at line 186 of file scheduler.h.
void( * Scheduler_Operations::schedule) (const Scheduler_Control *, Thread_Control *) |
Definition at line 48 of file scheduler.h.
bool( * Scheduler_Operations::set_affinity) (const Scheduler_Control *, Thread_Control *, Scheduler_Node *, const Processor_mask *) |
Definition at line 232 of file scheduler.h.
void( * Scheduler_Operations::start_idle) (const Scheduler_Control *, Thread_Control *, struct Per_CPU_Control *) |
Definition at line 224 of file scheduler.h.
void( * Scheduler_Operations::tick) (const Scheduler_Control *, Thread_Control *) |
Definition at line 221 of file scheduler.h.
void( * Scheduler_Operations::unblock) (const Scheduler_Control *, Thread_Control *, Scheduler_Node *) |
Definition at line 65 of file scheduler.h.
Priority_Control( * Scheduler_Operations::unmap_priority) (const Scheduler_Control *, Priority_Control) |
Definition at line 85 of file scheduler.h.
void( * Scheduler_Operations::unpin) (const Scheduler_Control *scheduler, Thread_Control *the_thread, Scheduler_Node *node, struct Per_CPU_Control *cpu) |
Unpin thread operation.
[in] | scheduler | The scheduler instance of the specified processor. |
[in] | the_thread | The thread to unpin. |
[in] | node | The scheduler node of the thread. |
[in] | cpu | The processor to unpin the thread. |
Definition at line 160 of file scheduler.h.
void( * Scheduler_Operations::update_priority) (const Scheduler_Control *, Thread_Control *, Scheduler_Node *) |
Definition at line 72 of file scheduler.h.
void( * Scheduler_Operations::withdraw_node) (const Scheduler_Control *scheduler, Thread_Control *the_thread, Scheduler_Node *node, Thread_Scheduler_state next_state) |
Withdraw node operation.
[in] | scheduler | The scheduler instance to withdraw the node. |
[in] | the_thread | The thread using the node. |
[in] | node | The scheduler node to withdraw. |
[in] | next_state | The next thread scheduler state in case the node is scheduled. |
Definition at line 130 of file scheduler.h.
void( * Scheduler_Operations::yield) (const Scheduler_Control *, Thread_Control *, Scheduler_Node *) |
Definition at line 51 of file scheduler.h.