RTEMS CPU Kit with SuperCore
4.11.3
|
Thread Queue Operations. More...
#include <rtems/score/threadqimpl.h>
#include <rtems/score/assert.h>
#include <rtems/score/threaddispatch.h>
#include <rtems/score/threadimpl.h>
#include <rtems/score/watchdogimpl.h>
Macros | |
#define | THREAD_QUEUE_INTEND_TO_BLOCK (THREAD_WAIT_CLASS_OBJECT | THREAD_WAIT_STATE_INTEND_TO_BLOCK) |
#define | THREAD_QUEUE_BLOCKED (THREAD_WAIT_CLASS_OBJECT | THREAD_WAIT_STATE_BLOCKED) |
#define | THREAD_QUEUE_READY_AGAIN (THREAD_WAIT_CLASS_OBJECT | THREAD_WAIT_STATE_READY_AGAIN) |
Functions | |
void | _Thread_queue_Enqueue_critical (Thread_queue_Control *the_thread_queue, Thread_Control *the_thread, States_Control state, Watchdog_Interval timeout, uint32_t timeout_code, ISR_lock_Context *lock_context) |
Blocks the thread and places it on the thread queue. More... | |
void | _Thread_queue_Extract_locked (Thread_queue_Control *the_thread_queue, Thread_Control *the_thread) |
Extracts the thread from the thread queue, restores the default wait operations and restores the default thread lock. More... | |
void | _Thread_queue_Unblock_critical (Thread_queue_Control *the_thread_queue, Thread_Control *the_thread, ISR_lock_Context *lock_context) |
Unblocks the thread which was on the thread queue before. More... | |
void | _Thread_queue_Extract_critical (Thread_queue_Control *the_thread_queue, Thread_Control *the_thread, ISR_lock_Context *lock_context) |
Extracts the thread from the thread queue and unblocks it. More... | |
void | _Thread_queue_Extract (Thread_Control *the_thread) |
Extracts thread from thread queue. More... | |
Thread_Control * | _Thread_queue_Dequeue (Thread_queue_Control *the_thread_queue) |
Gets a pointer to a thread waiting on the_thread_queue. More... | |
Thread Queue Operations.