Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

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