ML Reference
mlAtomicCounter.h
Go to the documentation of this file.
1
/*************************************************************************************
2
**
3
** Copyright 2009, MeVis Medical Solutions AG
4
**
5
** The user may use this file in accordance with the license agreement provided with
6
** the Software or, alternatively, in accordance with the terms contained in a
7
** written agreement between the user and MeVis Medical Solutions AG.
8
**
9
** For further information use the contact form at https://www.mevislab.de/contact
10
**
11
**************************************************************************************/
12
13
#ifndef ML_ATOMIC_COUNTER_H
14
#define ML_ATOMIC_COUNTER_H
15
17
18
#include "
mlUtilsSystem.h
"
19
20
#include <ThirdPartyWarningsDisable.h>
21
#include <atomic>
22
#include <ThirdPartyWarningsRestore.h>
23
24
ML_UTILS_START_NAMESPACE
25
29
using
AtomicCounter
= std::atomic_int32_t;
30
31
ML_UTILS_END_NAMESPACE
32
33
#endif
34
35
ml::AtomicCounter
std::atomic_int32_t AtomicCounter
AtomicCounter is a thread-safe integer counter.
Definition
mlAtomicCounter.h:29
mlUtilsSystem.h
MeVis
Foundation
Sources
MLUtilities
mlAtomicCounter.h
Generated by
1.10.0