FreeRTOS C-Addons  1.1.0
C-Addon functionality to FreeRTOS
Data Fields
RWLockPreferReader_t_ Struct Reference

Data Fields

enum ReaderWriterLockType Type
 
int ReadCount
 
SemaphoreHandle_t ReadLock
 
SemaphoreHandle_t ResourceLock
 

Detailed Description

Definition at line 57 of file read_write_lock.c.

Field Documentation

◆ ReadCount

int ReadCount

How many active readers are there.

Definition at line 67 of file read_write_lock.c.

◆ ReadLock

SemaphoreHandle_t ReadLock

Protect ReadCount.

Definition at line 72 of file read_write_lock.c.

◆ ResourceLock

SemaphoreHandle_t ResourceLock

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

Definition at line 78 of file read_write_lock.c.

◆ Type

Specify a type as well as using this as a signature.

Definition at line 62 of file read_write_lock.c.


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