mbed library sources. Supersedes mbed-src.

Dependents:   Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more

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 rtos::Mutex PlatformMutex
 The PlatformMutex class is used to synchronize the execution of threads.

Typedef Documentation

typedef rtos::Mutex PlatformMutex

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 43 of file cmsis/BUILD/mbed/platform/PlatformMutex.h.

typedef rtos::Mutex PlatformMutex

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 43 of file platform/PlatformMutex.h.