RTEMS  5.0.0
Data Fields
Thread_queue_Queue Struct Reference

Data Fields

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

Field Documentation

◆ heads

Thread_queue_Heads* Thread_queue_Queue::heads

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(). 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.


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