RTEMS
|
Thread Queue Initialize. More...
#include <string.h>
#include <rtems/score/threadqimpl.h>
#include <rtems/score/rbtreeimpl.h>
#include <rtems/score/threadimpl.h>
Go to the source code of this file.
Functions | |
RTEMS_STATIC_ASSERT (offsetof(Thread_queue_Syslock_queue, Queue.Lock.next_ticket)==offsetof(struct _Thread_queue_Queue, _Lock._next_ticket), THREAD_QUEUE_SYSLOCK_QUEUE_NEXT_TICKET) | |
RTEMS_STATIC_ASSERT (offsetof(Thread_queue_Syslock_queue, Queue.Lock.now_serving)==offsetof(struct _Thread_queue_Queue, _Lock._now_serving), THREAD_QUEUE_SYSLOCK_QUEUE_NOW_SERVING) | |
RTEMS_STATIC_ASSERT (offsetof(Thread_queue_Syslock_queue, Queue.heads)==offsetof(struct _Thread_queue_Queue, _heads), THREAD_QUEUE_SYSLOCK_QUEUE_HEADS) | |
RTEMS_STATIC_ASSERT (offsetof(Thread_queue_Syslock_queue, Queue.owner)==offsetof(struct _Thread_queue_Queue, _owner), THREAD_QUEUE_SYSLOCK_QUEUE_OWNER) | |
RTEMS_STATIC_ASSERT (offsetof(Thread_queue_Syslock_queue, Queue.name)==offsetof(struct _Thread_queue_Queue, _name), THREAD_QUEUE_SYSLOCK_QUEUE_NAME) | |
RTEMS_STATIC_ASSERT (sizeof(Thread_queue_Syslock_queue)==sizeof(struct _Thread_queue_Queue), THREAD_QUEUE_SYSLOCK_QUEUE_SIZE) | |
void | _Thread_queue_Do_acquire_critical (Thread_queue_Control *the_thread_queue, ISR_lock_Context *lock_context) |
Acquires the thread queue control in a critical section. More... | |
void | _Thread_queue_Acquire (Thread_queue_Control *the_thread_queue, Thread_queue_Context *queue_context) |
Acquires the thread queue control in a critical section. More... | |
void | _Thread_queue_Do_release_critical (Thread_queue_Control *the_thread_queue, ISR_lock_Context *lock_context) |
Checks if the thread queue control is the owner of the lock. More... | |
void | _Thread_queue_Release (Thread_queue_Control *the_thread_queue, Thread_queue_Context *queue_context) |
Releases the thread queue control and enables interrupts. 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... | |
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... | |
Variables | |
const char | _Thread_queue_Object_name [] = { '\0' } |
The special thread queue name to indicated that the thread queue is embedded in an object with identifier. More... | |
Thread Queue Initialize.
Definition in file threadq.c.