47 #ifndef _MIRA_THREAD_H_ 48 #define _MIRA_THREAD_H_ 51 #include <boost/thread/thread.hpp> 52 #include <boost/thread/mutex.hpp> 53 #include <boost/thread/recursive_mutex.hpp> 54 #include <boost/thread/locks.hpp> 70 using boost::this_thread::sleep;
83 using boost::this_thread::disable_interruption;
96 #define MIRA_SLEEP(ms) mira::sleep(mira::Duration::milliseconds(ms)); 103 #define MIRA_DISABLE_THREAD_INTERRUPT disable_interruption _disable_interruption_USE_ONLY_ONCE_PER_SCOPE_; 110 #define MIRA_SLEEP_NO_INTERRUPT(ms) \ 112 MIRA_DISABLE_THREAD_INTERRUPT \ specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
float MIRA_BASE_EXPORT getCPUUsage()
Returns the CPU usage of the calling process in percent.
Time and Duration wrapper class.