Rtos API example

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