RTEMS
|
Changes the Priority of a Thread. More...
#include <rtems/score/threadimpl.h>
#include <rtems/score/assert.h>
#include <rtems/score/schedulerimpl.h>
Go to the source code of this file.
Functions | |
static void | _Thread_Set_scheduler_node_priority (Priority_Aggregation *priority_aggregation, bool prepend_it) |
static void | _Thread_Priority_action_add (Priority_Aggregation *priority_aggregation, Priority_Actions *priority_actions, void *arg) |
static void | _Thread_Priority_action_remove (Priority_Aggregation *priority_aggregation, Priority_Actions *priority_actions, void *arg) |
static void | _Thread_Priority_action_change (Priority_Aggregation *priority_aggregation, bool prepend_it, Priority_Actions *priority_actions, void *arg) |
static void | _Thread_Priority_do_perform_actions (Thread_Control *the_thread, Thread_queue_Queue *queue, const Thread_queue_Operations *operations, bool prepend_it, Thread_queue_Context *queue_context) |
void | _Thread_Priority_perform_actions (Thread_Control *start_of_path, Thread_queue_Context *queue_context) |
Checks if the thread is owner of the lock of the join queue. More... | |
static void | _Thread_Priority_apply (Thread_Control *the_thread, Priority_Node *priority_action_node, Thread_queue_Context *queue_context, bool prepend_it, Priority_Action_type priority_action_type) |
void | _Thread_Priority_add (Thread_Control *the_thread, Priority_Node *priority_node, Thread_queue_Context *queue_context) |
Adds the specified thread priority node to the corresponding thread priority aggregation. More... | |
void | _Thread_Priority_remove (Thread_Control *the_thread, Priority_Node *priority_node, Thread_queue_Context *queue_context) |
Removes the specified thread priority node from the corresponding thread priority aggregation. More... | |
void | _Thread_Priority_changed (Thread_Control *the_thread, Priority_Node *priority_node, bool prepend_it, Thread_queue_Context *queue_context) |
Propagates a thread priority value change in the specified thread priority node to the corresponding thread priority aggregation. More... | |
void | _Thread_Priority_replace (Thread_Control *the_thread, Priority_Node *victim_node, Priority_Node *replacement_node) |
Replaces the victim priority node with the replacement priority node in the corresponding thread priority aggregation. More... | |
void | _Thread_Priority_update (Thread_queue_Context *queue_context) |
Updates the priority of all threads in the set. More... | |
void | _Thread_Priority_and_sticky_update (Thread_Control *the_thread, int sticky_level_change) |
Updates the priority of the thread and changes it sticky level. More... | |
Changes the Priority of a Thread.
Definition in file threadchangepriority.c.