Kev Mann / mbed-dev-OS5_10_4
Embed: (wiki syntax)

« Back to documentation index

PlatformMutex class

PlatformMutex class
[Platform]

Typedefs

typedef rtos::Mutex PlatformMutex
 The PlatformMutex class is used to synchronize the execution of threads.

Typedef Documentation

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.

Note:
  • When the RTOS is present, the PlatformMutex becomes a typedef for rtos::Mutex.
  • When the RTOS is absent, all methods are defined as noop.

Definition at line 42 of file PlatformMutex.h.