|
void | _Thread_queue_Enqueue_do_nothing_extra (Thread_queue_Queue *queue, Thread_Control *the_thread, Per_CPU_Control *cpu_self, Thread_queue_Context *queue_context) |
| Does nothing. More...
|
|
void | _Thread_queue_Add_timeout_ticks (Thread_queue_Queue *queue, Thread_Control *the_thread, Per_CPU_Control *cpu_self, Thread_queue_Context *queue_context) |
| Adds timeout ticks of the queue to the thread. More...
|
|
void | _Thread_queue_Add_timeout_monotonic_timespec (Thread_queue_Queue *queue, Thread_Control *the_thread, Per_CPU_Control *cpu_self, Thread_queue_Context *queue_context) |
| Adds a monotonic timespec to the thread and sets the watchdog header to monotonic. More...
|
|
void | _Thread_queue_Add_timeout_realtime_timespec (Thread_queue_Queue *queue, Thread_Control *the_thread, Per_CPU_Control *cpu_self, Thread_queue_Context *queue_context) |
| Adds a monotonic timespec to the thread and sets the watchdog header to realtime. More...
|
|
void | _Thread_queue_Deadlock_status (Thread_Control *the_thread) |
| Sets the thread wait return code to STATUS_DEADLOCK. More...
|
|
void | _Thread_queue_Deadlock_fatal (Thread_Control *the_thread) |
| Results in an INTERNAL_ERROR_THREAD_QUEUE_DEADLOCK fatal error. More...
|
|
size_t | _Thread_queue_Queue_get_name_and_id (const Thread_queue_Queue *queue, char *buffer, size_t buffer_size, Objects_Id *id) |
| Copies the thread queue name to the specified buffer. More...
|
|
void | _Thread_queue_Enqueue (Thread_queue_Queue *queue, const Thread_queue_Operations *operations, Thread_Control *the_thread, Thread_queue_Context *queue_context) |
| Blocks the thread and places it on the thread queue. More...
|
|
bool | _Thread_queue_Extract_locked (Thread_queue_Queue *queue, const Thread_queue_Operations *operations, Thread_Control *the_thread, Thread_queue_Context *queue_context) |
| Extracts the thread from the thread queue, restores the default wait operations and restores the default thread lock. More...
|
|
void | _Thread_queue_Resume (Thread_queue_Queue *queue, Thread_Control *the_thread, Thread_queue_Context *queue_context) |
| Resumes the extracted or surrendered thread. More...
|
|
void | _Thread_queue_Extract (Thread_Control *the_thread) |
| Extracts thread from thread queue. More...
|
|
void | _Thread_queue_Surrender (Thread_queue_Queue *queue, Thread_queue_Heads *heads, Thread_Control *previous_owner, Thread_queue_Context *queue_context, const Thread_queue_Operations *operations) |
| Surrenders the thread queue previously owned by the thread to the first enqueued thread. More...
|
|
void | _Thread_queue_Surrender_no_priority (Thread_queue_Queue *queue, Thread_queue_Heads *heads, Thread_queue_Context *queue_context, const Thread_queue_Operations *operations) |
| Surrenders the thread queue previously owned by the thread to the first enqueued thread. More...
|
|
Status_Control | _Thread_queue_Surrender_priority_ceiling (Thread_queue_Queue *queue, Thread_Control *executing, Priority_Node *ceiling_priority, Thread_queue_Context *queue_context, const Thread_queue_Operations *operations) |
| Surrenders the thread queue previously owned by the thread to the first enqueued thread. More...
|
|
Thread_Control * | _Thread_queue_First (Thread_queue_Control *the_thread_queue, const Thread_queue_Operations *operations) |
| Returns the first thread on the thread queue if it exists, otherwise NULL . More...
|
|
Thread_Control * | _Thread_queue_Flush_default_filter (Thread_Control *the_thread, Thread_queue_Queue *queue, Thread_queue_Context *queue_context) |
| Default thread queue flush filter function. More...
|
|
Thread_Control * | _Thread_queue_Flush_status_unavailable (Thread_Control *the_thread, Thread_queue_Queue *queue, Thread_queue_Context *queue_context) |
| Status unavailable thread queue flush filter function. More...
|
|
Thread_Control * | _Thread_queue_Flush_status_object_was_deleted (Thread_Control *the_thread, Thread_queue_Queue *queue, Thread_queue_Context *queue_context) |
| Status object was deleted thread queue flush filter function. More...
|
|
size_t | _Thread_queue_Flush_critical (Thread_queue_Queue *queue, const Thread_queue_Operations *operations, Thread_queue_Flush_filter filter, Thread_queue_Context *queue_context) |
| Unblocks all threads enqueued on the thread queue. More...
|
|
void | _Thread_queue_Initialize (Thread_queue_Control *the_thread_queue, const char *name) |
| Initializes the thread queue control to the given name. More...
|
|
void | _Thread_queue_Object_initialize (Thread_queue_Control *the_thread_queue) |
| Initializes a thread queue embedded in an object with identifier. More...
|
|
|
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.
|
|
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.
|
|
const char | _Thread_queue_Object_name [] |
| The special thread queue name to indicated that the thread queue is embedded in an object with identifier. More...
|
|
This header file provides interfaces of the Thread Queue Handler which are only used by the implementation.