mn_safecounter.hpp File Reference
#include "mn_config.hpp"
#include "mn_autolock.hpp"
#include "mn_error.hpp"
#include "pointer/mn_lock_ptr.hpp"
Go to the source code of this file.
Classes | |
class | mn::basic_safe_counter< T, TLOCK > |
safe counter is a base of thread saftly counter More... | |
Namespaces | |
mn | |
Typedefs | |
using | mn::safe_counter_t = basic_safe_counter< uint64_t, LockType_t > |
sot the default safe_counter, value type are uint64_t and as lock type use LockType_t More... | |
Detailed Description
This file is part of the Mini Thread Library (https://github.com/RoseLeBlood/MiniThread ).
- License
- The Mini Thread Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, version 3, or (at your option) any later version.
The Mini Thread Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with the Mini Thread Library; if not, see https://www.gnu.org/licenses/.