#ifndef _library_threadtypes__hpp__included__ #define _library_threadtypes__hpp__included__ #include #ifdef NATIVE_THREADS #include #include #include typedef std::thread thread_class; typedef std::condition_variable cv_class; typedef std::mutex mutex_class; typedef std::unique_lock umutex_class; #else #include #include typedef boost::thread thread_class; typedef boost::condition_variable cv_class; typedef boost::mutex mutex_class; typedef boost::unique_lock umutex_class; #endif #endif