28 #ifndef __itkMultiThreader_h
29 #define __itkMultiThreader_h
53 class ITKCommon_EXPORT MultiThreader:
public Object
57 typedef MultiThreader Self;
58 typedef Object Superclass;
66 itkTypeMacro(MultiThreader, Object);
80 static void SetGlobalMaximumNumberOfThreads(
ThreadIdType val);
88 static void SetGlobalDefaultNumberOfThreads(
ThreadIdType val);
96 void SingleMethodExecute();
102 void MultipleMethodExecute();
134 #ifdef ThreadInfoStruct
135 #undef ThreadInfoStruct
137 struct ThreadInfoStruct {
144 enum { SUCCESS, ITK_EXCEPTION, ITK_PROCESS_ABORTED_EXCEPTION, STD_EXCEPTION, UNKNOWN } ThreadExitCode;
150 virtual void PrintSelf(std::ostream & os, Indent indent)
const ITK_OVERRIDE;
153 MultiThreader(
const Self &);
154 void operator=(
const Self &);
190 static ThreadIdType GetGlobalDefaultNumberOfThreadsByPlatform();
void(* ThreadFunctionType)(void *)
#define ITK_THREAD_RETURN_TYPE
unsigned int ThreadIdType
SmartPointer< Self > Pointer