[Insight-users] Multithread

Juan Carlos Prieto prieto at creatis.insa-lyon.fr
Tue Apr 12 13:36:21 EDT 2011


Hello

I'm currently working on a multi thread algorithm and I would like to 
know If there are any example on how to use the itkSemaphore to 
coordinate the threads.
I'm using the ImageSource::GenerateThreadedData

At the end of each iteration there is an insertion step to a series of 
vectors so I need to block the other threads while this operation takes 
place.

Any suggestion would be great.

Sincerely,

-- 
Juan Carlos Prieto
Phd Student
CREATIS <http://www.creatis.insa-lyon.fr> Tel:+33472438918
7 Av Jean Capelle
69621 Villeurbanne Cedex
France
Personal page <http://www.creatis.insa-lyon.fr/%7Eprieto>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110412/8d284eb4/attachment.htm>


More information about the Insight-users mailing list