[Insight-users] multi threading turn off switch
    Luis Ibanez 
    luis.ibanez at kitware.com
       
    Sat Aug 28 09:32:28 EDT 2004
    
    
  
Hi Ingmar,
Yes, you just need to invoke
     filter->SetNumberOfThreads(1)
in the filter that you suspect to be
taking over your CPU.
   Regards,
     Luis
---------------------------------
Bitter, Ingmar (NIH/CC/DRD) wrote:
> Hi,
> 
> It is very nice that itk automatically detects dual CPUs and uses both for
> the smoothing filters. Unfortunately, in Windows XP, that means that I can
> not even move the mouse smoothly during processing (and of course not press
> a button, or type some code -- that would be true multitasking).  
> So is there a simple way to force itk to run single threaded? Or to leave
> one CPU unused?
> 
> -Ingmar
> 
> Ingmar Bitter, Ph.D.     Diagnostic Radiology Department 
> Staff Scientist          Clinical Center
> Tel:(301) 435-2155       National Institutes of Health
> Fax:(301) 496-9933       9000 Rockville Pike, Bethesda, MD 20892
> 
> 
> _______________________________________________
> 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