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> 69 using boost::this_thread::sleep;
82 using boost::this_thread::disable_interruption;
95 #define MIRA_SLEEP(ms) mira::sleep(mira::Duration::milliseconds(ms)); 102 #define MIRA_DISABLE_THREAD_INTERRUPT disable_interruption _disable_interruption_USE_ONLY_ONCE_PER_SCOPE_; 109 #define MIRA_SLEEP_NO_INTERRUPT(ms) \ 111 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.