R_RTOS
0.1
DistributedRealTimeOperatingSystemfortheARMCortexMArchitecture
|
Functions | |
static RetCode | mntr_appendToWaitrList (PMntr const mntr, PTskTCB const waitrTsk) |
Append the specified Task to the specified Monitor's wait queue. More... | |
static RetCode | mntr_getNextWaitr (PMntr const mntr) |
Examine the specified Monitor's wait queue and release the entities accordingly. More... | |
RetCode | mntr_INIT (void) |
Initialize the Monitor functionality. More... | |
RetCode | mntr_InitMntr (const MntrNr mntrNr, const Data const data) |
Initialize the monitor with the given MntrNr. More... | |
RetCode | mntr_ReqstReadAccssMntr (const MntrNr mntrNr, PTskTCB const tsk) |
Request read access to the data protected by the monitor. More... | |
RetCode | mntr_ReqstWriteAccssMntr (const MntrNr mntrNr, PTskTCB const tsk) |
Request write access to the data protected by the monitor. More... | |
RetCode | mntr_ReleaseAccssMntr (const MntrNr mntrNr) |
Release a previously made access request (read or write). More... | |
Variables | |
static MemPoolID | memPoolID_MNTR |
Memory pool ID for Monitors. More... | |
static Mntr | ar_Mntr [NR_OF_MNTRS] |
Array that holds all available Monitors. | |