[Insight-users] Multithread
Maria Alejandra Zuluaga Valencia
mariazulv at yahoo.es
Thu Apr 14 07:59:23 EDT 2011
Hola.
The file itkSemaphoreTest.cxx in the testing code has a very simple example on
how to use it. It might help as a start up.
best
Maria
Message: 3
Date: Tue, 12 Apr 2011 19:36:21 +0200
From: Juan Carlos Prieto <prieto at creatis.insa-lyon.fr>
Subject: [Insight-users] Multithread
To: insight-users at itk.org
Message-ID: <4DA48D95.3020401 at creatis.insa-lyon.fr>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
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-0001.htm>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110414/1208ccd2/attachment.htm>
More information about the Insight-users
mailing list