RTEMS 6.1-rc2
|
This source file contains the definition of _Thread_queue_Operations_default, _Thread_queue_Operations_FIFO, _Thread_queue_Operations_priority, and _Thread_queue_Operations_priority_inherit. More...
#include <rtems/score/threadqops.h>
#include <rtems/score/threadimpl.h>
#include <rtems/score/assert.h>
#include <rtems/score/chainimpl.h>
#include <rtems/score/rbtreeimpl.h>
#include <rtems/score/schedulerimpl.h>
Macros | |
#define | THREAD_QUEUE_CONTEXT_OF_PRIORITY_ACTIONS(priority_actions) |
#define | THREAD_QUEUE_PRIORITY_QUEUE_OF_PRIORITY_AGGREGATION(priority_aggregation) |
Functions | |
void | _Thread_queue_Do_nothing_priority_actions (Thread_queue_Queue *queue, Priority_Actions *priority_actions) |
Initializes the priority actions so that no actions are performed. | |
void | _Thread_queue_FIFO_enqueue (Thread_queue_Queue *queue, Thread_Control *the_thread, Thread_queue_Context *queue_context) |
Enqueues the thread to the FIFO thread queue. | |
void | _Thread_queue_FIFO_extract (Thread_queue_Queue *queue, Thread_Control *the_thread, Thread_queue_Context *queue_context) |
Extracts the thread from the FIFO thread queue. | |
Thread_Control * | _Thread_queue_FIFO_first (const Thread_queue_Heads *heads) |
Gets the first thread on the FIFO thread queue. | |
Thread_Control * | _Thread_queue_FIFO_surrender (Thread_queue_Queue *queue, Thread_queue_Heads *heads, Thread_Control *previous_owner, Thread_queue_Context *queue_context) |
Surrenders the thread queue to the first thread on the FIFO thread queue. | |
Variables | |
const Thread_queue_Operations | _Thread_queue_Operations_default |
The default thread queue operations are used when a thread is not enqueued on a thread queue. | |
const Thread_queue_Operations | _Thread_queue_Operations_FIFO |
The FIFO thread queue operations are used when a thread is enqueued on a thread queue and provide FIFO ordering of enqueued threads. | |
const Thread_queue_Operations | _Thread_queue_Operations_priority |
The FIFO thread queue operations are used when a thread is enqueued on a thread queue and provide priority ordering of enqueued threads. | |
const Thread_queue_Operations | _Thread_queue_Operations_priority_inherit |
The FIFO thread queue operations are used when a thread is enqueued on a thread queue and provide priority ordering of enqueued threads with support for priority inheritance. | |
This source file contains the definition of _Thread_queue_Operations_default, _Thread_queue_Operations_FIFO, _Thread_queue_Operations_priority, and _Thread_queue_Operations_priority_inherit.
#define THREAD_QUEUE_CONTEXT_OF_PRIORITY_ACTIONS | ( | priority_actions | ) |
#define THREAD_QUEUE_PRIORITY_QUEUE_OF_PRIORITY_AGGREGATION | ( | priority_aggregation | ) |