mn_atomic_singleton.hpp
Go to the documentation of this file.
Singleton with double-checked locking pattern with atomic and mutex lock.
Definition: mn_atomic_singleton.hpp:37
basic_atomic_singleton(const self_type &)=delete
static reference instance()
Definition: mn_atomic_singleton.hpp:48
basic_atomic_singleton(self_type &&other)=delete
static mn::_atomic< pointer > m_pInstance
Definition: mn_atomic_singleton.hpp:62
Definition: mn_lock.hpp:122
Definition: mn_mutex.hpp:37
Basic atomics types This file is part of the Mini Thread Library (https://github.com/RoseLeBlood/Mini...
Definition: mn_allocator_typetraits.hpp:25
@ Release
@ Consume