MeVisLabToolboxReference
MeVis/Foundation/Sources/MLUtilities/mlAtomicCounter.h
Go to the documentation of this file.
00001 // **InsertLicense** code
00002 //----------------------------------------------------------------------------------
00004 
00009 //----------------------------------------------------------------------------------
00010 #ifndef __mlAtomicCounter_H
00011 #define __mlAtomicCounter_H
00012 
00013 #ifndef __mlUtilsSystem_H
00014 #include "mlUtilsSystem.h"
00015 #endif
00016 
00017 #include <boost/detail/atomic_count.hpp>
00018 
00019 # ifndef UNIX
00020 #  define BOOST_USE_ASM_ATOMIC_H
00021 # endif
00022 
00023 ML_UTILS_START_NAMESPACE
00024 
00028 typedef boost::detail::atomic_count AtomicCounter;
00029 
00030 ML_UTILS_END_NAMESPACE
00031 
00032 #endif // __mlAtomicCounter_H
00033 
00034