The PlatformMutex class is used to synchronize the execution of threads. More...
Public Member Functions
|Create a PlatformMutex object. More...|
|PlatformMutex destructor. More...|
|Wait until a PlatformMutex becomes available. More...|
|Unlock a PlatformMutex that the same thread has previously locked. More...|
The PlatformMutex class is used to synchronize the execution of threads.
Mbed drivers use the PlatformMutex class instead of rtos::Mutex. This enables the use of drivers when the Mbed OS is compiled without the RTOS.
Definition at line 47 of file PlatformMutex.h.
Create a PlatformMutex object.
Definition at line 53 of file PlatformMutex.h.
Definition at line 61 of file PlatformMutex.h.
Wait until a PlatformMutex becomes available.
Definition at line 71 of file PlatformMutex.h.
Unlock a PlatformMutex that the same thread has previously locked.
Definition at line 81 of file PlatformMutex.h.