MoJo / ER2_Robot_gnuarmeclipse_lpc1768-V2

Dependencies:   mbed

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

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