RTEMS  5.0.0
Functions | Variables
threadq.c File Reference

Thread Queue Initialize. More...

#include <string.h>
#include <rtems/score/threadqimpl.h>
#include <rtems/score/rbtreeimpl.h>
#include <rtems/score/threadimpl.h>

Functions

 RTEMS_STATIC_ASSERT (offsetof(Thread_queue_Syslock_queue, reserved[0])==offsetof(struct _Thread_queue_Queue, _Lock._next_ticket), THREAD_QUEUE_SYSLOCK_QUEUE_NEXT_TICKET)
 
 RTEMS_STATIC_ASSERT (offsetof(Thread_queue_Syslock_queue, reserved[1])==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_Initialize (Thread_queue_Control *the_thread_queue, const char *name)
 
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...
 

Detailed Description

Thread Queue Initialize.