[vtk-developers] fix for vtkMultiThreader.cxx

Simon Warfield warfield at bwh.harvard.edu
Mon Jun 4 22:26:12 EDT 2001

Lines 146 through 151 of vtkMultiThreader.cxx set an arbitrary maximum
limit on the number of available threads.

    // Lets limit the number of threads to 8
    if (num > 8)
      num = 8;

There is no reason to set an arbitrary upper limit, especially as the
code goes to some trouble to find the number of processors online.
I suggest to delete these lines.

Simon Warfield, Ph.D. warfield at bwh.harvard.edu Phone:617-732-7090
http://www.spl.harvard.edu/~warfield           FAX:  617-582-6033
Thorn 329, Brigham and Women's Hospital, Harvard Medical School
Department of Radiology, 75 Francis St, Boston, MA, 02115

More information about the vtk-developers mailing list