ML Reference
MeVis/Foundation/Sources/MLUtilities/mlMutex.h
Go to the documentation of this file.
00001 // **InsertLicense** code
00002 //----------------------------------------------------------------------------------
00005 
00010 //----------------------------------------------------------------------------------
00011 #ifndef __mlMutex_H
00012 #define __mlMutex_H
00013 
00014 #ifndef __mlUtilsSystem_H
00015 #include "mlUtilsSystem.h"
00016 #endif
00017 
00018 #include "mlSystemWarningsDisable.h"
00019 #include <boost/thread/recursive_mutex.hpp>
00020 #include <boost/thread/mutex.hpp>
00021 #include <boost/thread/condition.hpp>
00022 #include "mlSystemWarningsRestore.h"
00023 
00024 ML_UTILS_START_NAMESPACE
00025 
00029 typedef boost::recursive_mutex              RecursiveMutex;
00031 typedef boost::recursive_mutex::scoped_lock RecursiveLock;
00032 
00036 typedef boost::mutex              Mutex;
00038 typedef boost::mutex::scoped_lock Lock;
00039 
00040 ML_UTILS_END_NAMESPACE
00041 
00042 #endif // __mlMutex_H
00043 
00044