47 #ifndef _MIRA_THREADID_H_ 48 #define _MIRA_THREADID_H_ 52 #if defined(MIRA_LINUX) 53 # include <sys/syscall.h> 54 #elif defined(MIRA_WINDOWS) 77 inline ThreadID getCurrentThreadID() {
return static_cast<ThreadID>(syscall(SYS_gettid)); }
78 #elif defined(MIRA_WINDOWS) 79 inline ThreadID getCurrentThreadID() { return ::GetCurrentThreadId(); }
81 #error "Other platforms not yet supported" Typedefs for OS independent basic data types.
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
uint32 ThreadID
Platform independent thread ID.
Definition: ThreadID.h:68