|
FreeRTOS C-Addons
1.1.0
C-Addon functionality to FreeRTOS
|
Data Fields | |
| enum ReaderWriterLockType | Type |
| int | ReadCount |
| SemaphoreHandle_t | ReadLock |
| SemaphoreHandle_t | ResourceLock |
| int | WriteCount |
| SemaphoreHandle_t | WriteLock |
| SemaphoreHandle_t | BlockReadersLock |
Definition at line 83 of file read_write_lock.c.
| SemaphoreHandle_t BlockReadersLock |
Lock to stop reader threads from starving a Writer.
Definition at line 126 of file read_write_lock.c.
| int ReadCount |
How many active readers are there.
Definition at line 94 of file read_write_lock.c.
| SemaphoreHandle_t ReadLock |
Protect ReadCount.
Definition at line 99 of file read_write_lock.c.
| SemaphoreHandle_t ResourceLock |
Protect this resource from multiple writer access, or from Reader access when a writer is changing something.
Definition at line 105 of file read_write_lock.c.
| enum ReaderWriterLockType Type |
Definition at line 89 of file read_write_lock.c.
| int WriteCount |
Number of Writers waiting for the Resource Lock, including any current Writer already holdign it.
Definition at line 116 of file read_write_lock.c.
| SemaphoreHandle_t WriteLock |
Protect WriteCount.
Definition at line 121 of file read_write_lock.c.
1.8.13