[Insight-developers] Why is m_NumberOfThreads signed?

Bradley Lowekamp blowekamp at mail.nih.gov
Mon May 16 08:38:39 EDT 2011


What is the motivation for changing this? Why is unsigned better the signed?



On May 16, 2011, at 8:15 AM, David Doria wrote:

> On Thu, Apr 14, 2011 at 6:19 PM, Luis Ibanez <luis.ibanez at kitware.com> wrote:
>> Hi David,
>> 
>> After a quick "git grep"
>> I don't see any reason why m_NumberOfThreads has to be "int".
>> 
>> I agree with you in that "unsigned int" makes more sense.
>> 
>> Would you like to give it a try at producing a patch ?
>> 
>> 
>>   Thanks
>> 
>> 
>>       Luis
> 
> Sorry this took so long - here is a patch:
> 
> http://review.source.kitware.com/#change,1649
> 
> David
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.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-developers

========================================================
Bradley Lowekamp  
Lockheed Martin Contractor for
Office of High Performance Computing and Communications
National Library of Medicine 
blowekamp at mail.nih.gov


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110516/05b8a444/attachment.htm>


More information about the Insight-developers mailing list