9 #ifndef mrpt_synch_atomicincr_H
10 #define mrpt_synch_atomicincr_H
12 #include <mrpt/config.h>
16 #if defined( __GNUC__ )
17 # include <ext/atomicity.h>
33 #if defined( __GNUC__ )
35 #else // mostly for MSVC in Windows
43 atomic_num_t operator--();
44 operator atomic_num_t()
const;
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
This class acts exactly as an int (or long) variable, but with atomic increment and decrement operato...