Closed fbudin69500 closed 6 years ago
@dzenanz : This is one of the places in ITK where I found a similar implementation: https://github.com/InsightSoftwareConsortium/ITK/blob/master/Modules/Filtering/ImageSources/include/itkGaussianImageSource.hxx#L111
That is done directly in GenerateData method, which is the equivalent of thread 0. Only ThreadedGenerateData methods can have "threadId" different from 0. So no issue there.
GenerateData
ThreadedGenerateData
threadId
@dzenanz : This is one of the places in ITK where I found a similar implementation: https://github.com/InsightSoftwareConsortium/ITK/blob/master/Modules/Filtering/ImageSources/include/itkGaussianImageSource.hxx#L111