FreeRTOS Addons
Loading...
Searching...
No Matches
Public Attributes | List of all members
RWLockPreferWriter_t_ Struct Reference

Public Attributes

SemaphoreHandle_t BlockReadersLock
 
int ReadCount
 
SemaphoreHandle_t ReadLock
 
SemaphoreHandle_t ResourceLock
 
enum ReaderWriterLockType Type
 
int WriteCount
 
SemaphoreHandle_t WriteLock
 

Member Data Documentation

◆ BlockReadersLock

SemaphoreHandle_t RWLockPreferWriter_t_::BlockReadersLock

Lock to stop reader threads from starving a Writer.

◆ ReadCount

int RWLockPreferWriter_t_::ReadCount

How many active readers are there.

◆ ReadLock

SemaphoreHandle_t RWLockPreferWriter_t_::ReadLock

Protect ReadCount.

◆ ResourceLock

SemaphoreHandle_t RWLockPreferWriter_t_::ResourceLock

Protect this resource from multiple writer access, or from Reader access when a writer is changing something.

◆ WriteCount

int RWLockPreferWriter_t_::WriteCount

Number of Writers waiting for the Resource Lock, including any current Writer already holdign it.

◆ WriteLock

SemaphoreHandle_t RWLockPreferWriter_t_::WriteLock

Protect WriteCount.


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