[Insight-developers] Multithreader and Cygwin

Julien Jomier jjomier at cs.unc.edu
Thu, 11 Mar 2004 22:01:07 -0500


Hello,

I was tracking down the Semaphore issue on Cygwin and found out that
ITK_MAX_THREADS is set to 1 for Cygwin in itkMultiThreader.h. The reason
given in the code is "cygwin threads are unreliable".  I submitted an
experimental build with ITK_MAX_THREADS=128 on a dual-proc Cygwin machine
and all tests seem to pass.

Can I increase the ITK_MAX_THREADS value to 128 for cygwin?

Thanks,

Julien