RTEMS
Public Attributes | List of all members
Thread_queue_Queue Struct Reference

Public Attributes

SMP_ticket_lock_Control Lock
 Lock to protect this thread queue. More...
 
Thread_queue_Headsheads
 The thread queue heads. More...
 
Thread_Controlowner
 The thread queue owner.
 
const char * name
 The thread queue name.
 

Detailed Description

Definition at line 402 of file threadq.h.

Member Data Documentation

◆ heads

Thread_queue_Heads* Thread_queue_Queue::heads

The thread queue heads.

This pointer is NULL, if and only if no threads are enqueued. The first thread to enqueue will give its spare thread queue heads to this thread queue.

Definition at line 426 of file threadq.h.

◆ Lock

SMP_ticket_lock_Control Thread_queue_Queue::Lock

Lock to protect this thread queue.

It may be used to protect additional state of the object embedding this thread queue.

Must be the first component of this structure to be able to re-use implementation parts for structures defined by Newlib <sys/lock.h>.

See also
_Thread_queue_Acquire(), _Thread_queue_Acquire_critical() and _Thread_queue_Release().

Definition at line 416 of file threadq.h.


The documentation for this struct was generated from the following file: