ML Reference
|
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 "mlSystemWarningsDisable.h" 00018 #include <boost/detail/atomic_count.hpp> 00019 #include "mlSystemWarningsRestore.h" 00020 00021 # ifndef UNIX 00022 # define BOOST_USE_ASM_ATOMIC_H 00023 # endif 00024 00025 ML_UTILS_START_NAMESPACE 00026 00030 typedef boost::detail::atomic_count AtomicCounter; 00031 00032 ML_UTILS_END_NAMESPACE 00033 00034 #endif // __mlAtomicCounter_H 00035 00036