RTEMS 6.1-rc1
Functions | Variables
threadq.c File Reference

This source file contains static assertions related to the Thread Queue Handler, the definition of _Thread_queue_Object_name, and the implementation of _Thread_queue_Acquire(), _Thread_queue_Do_acquire_critical(), _Thread_queue_Initialize(), _Thread_queue_MP_callout_do_nothing(), _Thread_queue_Object_initialize(), _Thread_queue_Queue_get_name_and_id(), _Thread_queue_Release(), and _Thread_queue_Release_critical(). More...

#include <rtems/score/threadqimpl.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)
 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...
 

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

This source file contains static assertions related to the Thread Queue Handler, the definition of _Thread_queue_Object_name, and the implementation of _Thread_queue_Acquire(), _Thread_queue_Do_acquire_critical(), _Thread_queue_Initialize(), _Thread_queue_MP_callout_do_nothing(), _Thread_queue_Object_initialize(), _Thread_queue_Queue_get_name_and_id(), _Thread_queue_Release(), and _Thread_queue_Release_critical().