Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

SingletonPtr class

SingletonPtr class
[Platform]

Data Structures

struct  SingletonPtr< T >
 Utility class for creating and 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 47 of file 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 64 of file SingletonPtr.h.