41#ifndef BLOCXX_GLOBAL_MUTEX_HPP_INCLUDE_GUARD_
42#define BLOCXX_GLOBAL_MUTEX_HPP_INCLUDE_GUARD_
43#include "blocxx/BLOCXX_config.h"
53 static Mutex* create(
int);
58#define BLOCXX_GLOBAL_MUTEX_INIT() BLOCXX_LAZY_GLOBAL_INIT(0)
This class can be used to store a global variable that is lazily initialized in a thread safe manner.
bool operator==(const Array< T > &x, const Array< T > &y)
LazyGlobal< Mutex, int, GlobalMutexFactory > GlobalMutex