18 #ifndef itkThreadSupport_h
19 #define itkThreadSupport_h
27 #ifdef ITK_USE_WIN32_THREADS
29 #define _WIN32_WINNT 0x0501 //TBB 4.4 requires WinXP (0x0501 or greater)
33 #if defined(ITK_USE_PTHREADS)
35 #elif defined(ITK_USE_WIN32_THREADS)
45 #if defined(ITK_USE_PTHREADS)
56 #elif defined(ITK_USE_WIN32_THREADS)
68 #define ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION itk::ITK_THREAD_RETURN_TYPE __stdcall
78 #define ITK_THREAD_RETURN_DEFAULT_VALUE
85 #if defined(ITK_USE_PTHREADS)
87 pthread_cond_t m_ConditionVariable;
89 #elif defined(ITK_USE_WIN32_THREADS)
91 int m_NumberOfWaiters;
92 CRITICAL_SECTION m_NumberOfWaitersLock;
97 HANDLE m_WaitersAreDone;
117 #if defined(ITK_USE_PTHREADS)
120 #elif defined(ITK_USE_WIN32_THREADS)
127 #if ! defined ( ITK_FUTURE_LEGACY_REMOVE )
void(* ThreadFunctionType)(void *)
struct{} ConditionVariableType
itk::ITK_THREAD_RETURN_TYPE ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION
constexpr std::vcl_size_t ITK_MAX_THREADS
void ITK_THREAD_RETURN_TYPE
constexpr ThreadProcessIdType ITK_DEFAULT_THREAD_ID
#define ITK_THREAD_RETURN_DEFAULT_VALUE