mn_atomic_counter.hpp File Reference

Simple atamic counter This file is part of the Mini Thread Library (https://github.com/RoseLeBlood/MiniThread ). More...

#include "mn_config.hpp"
#include "mn_atomic.hpp"
#include "mn_copyable.hpp"

Go to the source code of this file.

Classes

class  mn::atomic_counter
 This class implements a simple counter, whit atomic operations for use in a multithreaded environment. More...
 

Namespaces

 mn
 

Detailed Description

Simple atamic counter This file is part of the Mini Thread Library (https://github.com/RoseLeBlood/MiniThread ).

Author
Copyright (c) 2021 Amber-Sophia Schroeck
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/.