mt.h
Go to the documentation of this file.
00001 #ifndef MT_MT_H
00002 #define MT_MT_H
00003 
00004 
00005 #ifdef QT_CORE_LIB
00006 
00007 #include <QThread>
00008 #include <QMutex>
00009 #include <QSemaphore>
00010 
00011 namespace mt {
00012   typedef QThread thread;
00013   typedef QMutex mutex;
00014   typedef QMutexLocker mutexlocker;
00015   typedef QSemaphore semaphore;
00016 
00017 //cache.h, token.h
00018 //QAtomicInt
00019 
00020 }//namespace
00021 
00022 
00023 #else
00024 
00025 #include "base.h"
00026 #include "mutex.h"
00027 #include "rw_lock.h"
00028 #include "semaphore.h"
00029 #include "thread.h"
00030 #include "scoped_mutex_lock.h"
00031 #include "scoped_read_lock.h"
00032 #include "scoped_write_lock.h"
00033 
00034 namespace mt{
00035   typedef scoped_mutex_lock mutexlocker;
00036 }
00037 #endif
00038 
00039 #endif // MT_MT_H


shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:33:22