28#ifndef itkPlatformMultiThreader_h
29#define itkPlatformMultiThreader_h
67#if !defined(ITK_LEGACY_REMOVE)
76 itkGenericOutputMacro(
"Warning: SetGlobalMaximumNumberOfThreads should now be called on itk::MultiThreaderBase. It "
77 "can affect all MultiThreaderBase's derived classes in ITK");
80 itkLegacyMacro(
static ThreadIdType GetGlobalMaximumNumberOfThreads())
82 itkGenericOutputMacro(
"Warning: GetGlobalMaximumNumberOfThreads should now be called on itk::MultiThreaderBase. It "
83 "can affect all MultiThreaderBase's derived classes in ITK");
84 return Superclass::GetGlobalMaximumNumberOfThreads();
93 itkLegacyMacro(
static void SetGlobalDefaultNumberOfThreads(ThreadIdType val))
95 itkGenericOutputMacro(
"Warning: SetGlobalDefaultNumberOfThreads should now be called on itk::MultiThreaderBase. It "
96 "can affect all MultiThreaderBase's derived classes in ITK");
97 Superclass::SetGlobalDefaultNumberOfThreads(val);
99 itkLegacyMacro(
static ThreadIdType GetGlobalDefaultNumberOfThreads())
101 itkGenericOutputMacro(
"Warning: GetGlobalDefaultNumberOfThreads should now be called on itk::MultiThreaderBase. It "
102 "can affect all MultiThreaderBase's derived classes in ITK");
103 return Superclass::GetGlobalDefaultNumberOfThreads();
173#if !defined(ITK_LEGACY_REMOVE)
178 void * m_MultipleData[ITK_MAX_THREADS]{};
Control indentation during Print() invocation.
static void SetGlobalMaximumNumberOfThreads(ThreadIdType val)
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned int ThreadIdType
constexpr vcl_size_t ITK_MAX_THREADS
void(*)(void *) ThreadFunctionType