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

SingletonPtr class

SingletonPtr class
[Platform]

Data Structures

struct  SingletonPtr< T >
 Utility class for creating an using a singleton. More...

Functions

static void singleton_lock (void)
 Lock the singleton mutex.
static void singleton_unlock (void)
 Unlock the singleton mutex.

Function Documentation

static void singleton_lock ( void   ) [static]

Lock the singleton mutex.

This function is typically used to provide exclusive access when initializing a global object.

Definition at line 45 of file cmsis/BUILD/mbed/platform/SingletonPtr.h.

static void singleton_unlock ( void   ) [static]

Unlock the singleton mutex.

This function is typically used to provide exclusive access when initializing a global object.

Definition at line 62 of file cmsis/BUILD/mbed/platform/SingletonPtr.h.