ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkThreadJob.h>
This class is used to submit jobs to the thread pool.
The thread job contains information of the submitted job: the function to be executed in parallel the function's argument a pointer to the semaphore to wait on for job completion.
Definition at line 56 of file itkThreadJob.h.
Public Member Functions | |
ThreadJob () | |
~ThreadJob () | |
Public Attributes | |
Semaphore * | m_Semaphore |
void * | m_UserData |
void *(* | m_ThreadFunction )(void *ptr) |
|
inline |
Definition at line 70 of file itkThreadJob.h.
|
inline |
Definition at line 77 of file itkThreadJob.h.
Semaphore* itk::ThreadJob::m_Semaphore |
This is the Job's id. Used for waiting on this job's completion.
Definition at line 91 of file itkThreadJob.h.
void*(* itk::ThreadJob::m_ThreadFunction)(void *ptr) |
Function that will be called.
Definition at line 86 of file itkThreadJob.h.
void* itk::ThreadJob::m_UserData |
Stores the user's data that needs to be passed into the function.
Definition at line 94 of file itkThreadJob.h.