mn_safecounter.hpp
Go to the documentation of this file.
safe counter is a base of thread saftly counter
Definition: mn_safecounter.hpp:36
value_type count()
get the current count
Definition: mn_safecounter.hpp:72
basic_safe_counter(value_type start)
Construct a new basic safe counter object.
Definition: mn_safecounter.hpp:54
self_type & operator++()
thread saftly increment operator
Definition: mn_safecounter.hpp:58
pointer::basic_lock_ptr< T, TLOCK > lock_ptr_type
Definition: mn_safecounter.hpp:41
self_type & operator--()
thread saftly decrement operator
Definition: mn_safecounter.hpp:65
basic_safe_counter()
Construct a new basic safe counter object.
Definition: mn_safecounter.hpp:46
A list of all error codes in this lib. This file is part of the Mini Thread Library (https://github....
struct mn::memory::detail::ptr_difference T
Definition: mn_atomic_singleton.hpp:38
Definition: mn_allocator_typetraits.hpp:25