[Insight-users] Multi threader feedback

Julien Finet julien.finet at kitware.com
Fri Jul 12 11:02:39 EDT 2013


Hi,

I was trying to find a way to know the current thread in ITK (actually I'm
just interested to know if I'm in the main thread or not).
Besides ThreadInfoStruct::ThreadID there is no convenient static method to
retrieve the thread ID. Am I wrong ?

Couldn't something similar to VTK be added:
vtkMultiThreader::GetCurrentThreadID()<http://www.vtk.org/doc/nightly/html/classvtkMultiThreader.html#ae5baf29ec03c3d231c2247c7f30a363a>
 ?

Thanks,
Julien.
p.s. #1: MultiThreader class is missing from classes
listing<http://www.itk.org/Doxygen/html/classes.html>

p.s. #2: Group name typo: Singel
->Single<http://www.itk.org/Doxygen/html/group__SingelThreaded.html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130712/2bd98e07/attachment.htm>


More information about the Insight-users mailing list