[Insight-users] MinGW and multithreading in ITK

lars-friedrich lars-friedrich at gmx.net
Wed Sep 16 01:42:54 EDT 2009


Thank you very much. I will start experiments today ...

lars


Bill Lorensen-2 wrote:
> 
> This restriction on mingw can be removed. After the pending 3.16
> release I will do so. In the meantime, please feel free to remove the
> mingw #if's. Please let us know if you see any problems.
> 
> Bill
> 
> On Tue, Sep 15, 2009 at 6:26 PM, lars-friedrich <lars-friedrich at gmx.net>
> wrote:
>>
>> Hello,
>>
>> in the following pre-processor-section situated in
>> Code/Common/itkMultiThreader.h
>>
>> // mingw threads cause crashes  so limit to 1
>> #if defined(__MINGW32__)
>> #undef ITK_MAX_THREADS
>> #define ITK_MAX_THREADS 1
>> #endif
>>
>> the maximum number of threads is limited to 1 when using MinGW as
>> alternative open source compiler under microsoft OS.
>>
>> Did someone ever play around with this setting, e.g. increasing it to 128
>> (as in most of the other compiler-cases)? Do the supposed crashes occur
>> in
>> any case or only when using specific parts of ITK? Or do the crashes
>> somehow
>> correlate with specific windows OS versions  (NT / 2000 / XP / 2003 /
>> Vista)
>> or specific GCC / MinGW versions?
>>
>> It would be very helpful if some experienced users / developers could
>> give a
>> few hints and/or comments on this topic. Most of the computers today are
>> multi-core and, therefore, ITK-MinGW-users should also be able to make
>> use
>> of this parallelism ...
>>
>> Thank you.
>>
>> Regards,
>>
>> lars
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/MinGW-and-multithreading-in-ITK-tp25462897p25462897.html
>> Sent from the ITK - Users mailing list archive at Nabble.com.
>>
>> _____________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.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
>>
> _____________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.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
> 
> 

-- 
View this message in context: http://www.nabble.com/MinGW-and-multithreading-in-ITK-tp25462897p25466277.html
Sent from the ITK - Users mailing list archive at Nabble.com.



More information about the Insight-users mailing list