RTEMS 6.1-rc1
Macros | Functions | Variables
threadqops.c File Reference

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. More...
 
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. More...
 
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. More...
 
Thread_Control_Thread_queue_FIFO_first (const Thread_queue_Heads *heads)
 Gets the first thread on the FIFO thread queue. More...
 
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. More...
 

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

Detailed Description

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.

Macro Definition Documentation

◆ THREAD_QUEUE_CONTEXT_OF_PRIORITY_ACTIONS

#define THREAD_QUEUE_CONTEXT_OF_PRIORITY_ACTIONS (   priority_actions)
Value:
priority_actions, \
Priority.Actions \
)
#define RTEMS_CONTAINER_OF(_m, _type, _member_name)
Gets the container of a member.
Definition: basedefs.h:306
Thread queue context for the thread queue methods.
Definition: threadq.h:216
Priority_Actions Actions
A priority action list.
Definition: threadq.h:303

◆ THREAD_QUEUE_PRIORITY_QUEUE_OF_PRIORITY_AGGREGATION

#define THREAD_QUEUE_PRIORITY_QUEUE_OF_PRIORITY_AGGREGATION (   priority_aggregation)
Value:
priority_aggregation, \
Queue \
)
Thread priority queue.
Definition: threadq.h:349