Classes | |
class | Mutex |
A recursive Mutex. More... | |
class | MutexException |
Exception type thrown on mutex errors. More... | |
class | MutexLock |
Typedefs | |
typedef pthread_mutex_t | RecursiveMutex_t |
typedef pthread_once_t | OnceFlag |
The OnceFlag variable type. | |
Functions | |
void | callOnce (OnceFlag &flag, void(*func)()) |
Call once function. |
|
|
|
The OnceFlag variable type.
|
|
Call once function.
The purpose of callOnce is to ensure that a piece of initialization code is executed at most once. The OnceFlag
The first time callOnce is called with a given Definition at line 50 of file Once.h. Referenced by globalFreeOnce(), and globalInitOnce(). |