The itkSemaphore class has been deprecated in itk4. You should not use it for any new classes.<br><br>This document: <a href="http://itk.org/gitweb?p=ITK.git;a=blob;f=Migration/RemoveditkSemaphore.xml;h=5bdd36b6ed674b008dfef21b0d9328b16f3070d4;hb=HEAD">http://itk.org/gitweb?p=ITK.git;a=blob;f=Migration/RemoveditkSemaphore.xml;h=5bdd36b6ed674b008dfef21b0d9328b16f3070d4;hb=HEAD</a><br>
<br>should tell you how to use an alternative method.<br><br><br><div class="gmail_quote">On Tue, Apr 12, 2011 at 1:36 PM, Juan Carlos Prieto <span dir="ltr"><<a href="mailto:prieto@creatis.insa-lyon.fr">prieto@creatis.insa-lyon.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
Hello <br>
<br>
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. <br>
I'm using the ImageSource::GenerateThreadedData <br>
<br>
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.<br>
<br>
Any suggestion would be great. <br>
<br>
Sincerely,<br><font color="#888888">
<br>
<div>-- <br>
Juan Carlos Prieto
<font color="grey" face="arial" size="2">
<br>
Phd Student
<br>
<a href="http://www.creatis.insa-lyon.fr" target="_blank">CREATIS</a>
Tel:+33472438918
<br>
7 Av Jean Capelle
<br>
69621 Villeurbanne Cedex
<br>
France <br>
<a href="http://www.creatis.insa-lyon.fr/%7Eprieto" target="_blank">Personal
page</a>
</font>
</div>
</font></div>
<br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br>