[Insight-users] is it possible to force the default number ofthreads ?

Miller, James V (Research) millerjv at crd.ge.com
Thu Nov 17 11:50:27 EST 2005


Gaetan, 

You can do a 

itk::MultiThreader::SetGlobalMaximumNumberOfThreads(1);

Jim

-----Original Message-----
From: insight-users-bounces+millerjv=crd.ge.com at itk.org
[mailto:insight-users-bounces+millerjv=crd.ge.com at itk.org]On Behalf Of
Gaetan Lehmann
Sent: Thursday, November 17, 2005 11:18 AM
To: insight-users at itk.org
Subject: [Insight-users] is it possible to force the default number
ofthreads ?



Hi,

Is it possible to force the default number of threads ?
On a computer with hyperthreading, using 2 threads can highly decrease the  
performances so I would be able to force all the filters to use only 1  
thread without having to set the number of threads for all the filters.

Regards,

Gaetan

-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr
_______________________________________________
Insight-users mailing list
Insight-users at itk.org
http://www.itk.org/mailman/listinfo/insight-users


More information about the Insight-users mailing list