mn_lock_ptr.hpp
Go to the documentation of this file.
const_pointer get() const
Get the pointer value.
Definition: mn_lock_ptr.hpp:81
const_reference operator*() const
Get the reference of the pointer.
Definition: mn_lock_ptr.hpp:92
basic_lock_ptr & operator=(const basic_lock_ptr &)=delete
basic_lock_ptr(volatile pointer v, lock_type &m)
constructor make the pointer and auto lock
Definition: mn_lock_ptr.hpp:65
const_pointer operator->() const
Helper to use this pointer as "native" pointer.
Definition: mn_lock_ptr.hpp:101
pointer operator->()
Helper to use this pointer as "native" pointer.
Definition: mn_lock_ptr.hpp:105
basic_lock_ptr(const basic_lock_ptr &)=delete
~basic_lock_ptr()
decunstructor and auto unlock the pointer
Definition: mn_lock_ptr.hpp:73
basic_lock_ptr(volatile reference v, lock_type &m)
constructor make the pointer and auto lock
Definition: mn_lock_ptr.hpp:55
Basic algorithmens This file is part of the Mini Thread Library (https://github.com/RoseLeBlood/MiniT...
struct mn::memory::detail::ptr_difference T
Definition: mn_atomic_singleton.hpp:38
basic_lock_ptr< T, TLOCK > make_lock_ref(volatile T &v, TLOCK &m)
Definition: mn_lock_ptr.hpp:127
basic_lock_ptr< T, TLOCK > make_lock_ptr(volatile T *v, TLOCK &m)
Definition: mn_lock_ptr.hpp:132
Definition: mn_allocator_typetraits.hpp:25