18 #ifndef itkThreadPool_h
19 #define itkThreadPool_h
21 #include "itkConfigure.h"
94 int GetNumberOfCurrentlyIdleThreads()
const;
100 static ThreadIdType GetGlobalDefaultNumberOfThreadsByPlatform();
107 static void PlatformCreate(
Semaphore &semaphore);
108 static void PlatformWait(
Semaphore &semaphore);
109 static void PlatformSignal(
Semaphore &semaphore);
110 static void PlatformDelete(
Semaphore &semaphore);
120 void DeleteThreads();
129 bool m_ExceptionOccurred;
Critical section locking class that can be allocated on the stack.
This class is used to submit jobs to the thread pool.
SmartPointer< Self > Pointer
#define ITK_THREAD_RETURN_TYPE
SmartPointer< const Self > ConstPointer
unsigned int ThreadIdType
Thread pool maintains a constant number of threads.
Base class for most ITK classes.
ThreadJob::Semaphore Semaphore