R_RTOS
0.1
DistributedRealTimeOperatingSystemfortheARMCortexMArchitecture
|
Monitor for synchronized access. More...
#include <R_RTOS_monitor.h>
Data Fields | |
TskID | mntrWaitrsQTskIDEnd |
| |
MntrState | curState |
| |
mntrRfrcCnt | refCntr |
| |
Monitor for synchronized access.
The monitor structure keeps track of its wait queue, its state and a reference counter that keeps track of how many instances currently have access to the monitor. If the value of the reference counter reaches zero it is considered to be free and therefore the wait queue is queried for currently blocked instances. If there are no elements in the wait queue, the monitor's state is set to MNTR_NOOP.