RTEMS  5.1
Data Fields
CORE_RWLock_Control Struct Reference

#include <corerwlockimpl.h>

Data Fields

Thread_queue_Syslock_queue Queue
 
CORE_RWLock_States current_state
 
unsigned int number_of_readers
 

Detailed Description

The following defines the control block used to manage each RWLock.

Field Documentation

◆ current_state

CORE_RWLock_States CORE_RWLock_Control::current_state

This element is the current state of the RWLock.

◆ number_of_readers

unsigned int CORE_RWLock_Control::number_of_readers

This element contains the current number of thread waiting for this RWLock to be released.

◆ Queue

Thread_queue_Syslock_queue CORE_RWLock_Control::Queue

This field is the Waiting Queue used to manage the set of tasks which are blocked waiting for the RWLock to be released.


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