![]() |
RTEMS 6.3
|
Thread queue context for the thread queue methods. More...
#include <threadq.h>
Data Structures | |
| union | [union].Timeout |
| Interval to wait. More... | |
| struct | [struct].Priority |
| Block to manage thread priority changes due to a thread queue operation. More... | |
Data Fields | |
| Thread_queue_Lock_context | Lock_context |
| The lock context for the thread queue acquire and release operations. | |
| States_Control | thread_state |
| The thread state for _Thread_queue_Enqueue(). | |
| Thread_queue_Enqueue_callout | enqueue_callout |
| The enqueue callout for _Thread_queue_Enqueue(). | |
| union | Timeout |
| bool | timeout_absolute |
| If this member is true, the timeout shall be absolute, otherwise it shall be relative to the current time of the clock. | |
| struct | Priority |
| Thread_queue_Deadlock_callout | deadlock_callout |
| Invoked in case of a detected deadlock. | |
Thread queue context for the thread queue methods.
| Thread_queue_Deadlock_callout Thread_queue_Context::deadlock_callout |
Invoked in case of a detected deadlock.
Must be initialized for _Thread_queue_Enqueue() in case the thread queue may have an owner, e.g. for mutex objects.
| Thread_queue_Enqueue_callout Thread_queue_Context::enqueue_callout |
The enqueue callout for _Thread_queue_Enqueue().
The callout is invoked after the release of the thread queue lock with thread dispatching disabled. Afterwards the thread is blocked. This callout must be used to install the thread watchdog for timeout handling.