Mistake on this page?
Report an issue in GitHub or email us
Data Structures | Functions
SingletonPtr class

Data Structures

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

Functions

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

Detailed Description

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.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.