The friendly Operating System for the Internet of Things
A fair reader writer lock. More...
The implementation ensures that readers and writers of the same priority won't starve each other. E.g. no new readers will get into the critical section if a writer of the same or a higher priority already waits for the lock.
|The current amount of reader inside the critical section. More...|
|Queue of waiting threads. |
|Provides mutual exclusion on reading and writing on the structure. |