[Insight-users] ITK single-thread

Karthik Krishnan karthik.krishnan at kitware.com
Thu Nov 12 07:09:50 EST 2009


you could just invoke the static method
itk::MUltiThreader::SetGlobalMaximumNumberOfThreads(1) and disable
multithreading for ITK filters

On Wed, Nov 11, 2009 at 11:27 PM, Gator Philly <gatoratphilly at gmail.com>wrote:

> Dear ITKers,
>
> Most of ITK image filters are multi-threaded. How can I compile a project
> using ITK in single-thread instead?
>
> Thanks a lot!
> Gator
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20091112/f6af4fd2/attachment.htm>


More information about the Insight-users mailing list