Hi!

I'm glad you found that. I've committed this and your other patch in a
slightly modified form.

Thanks a lot!


Regards, Klaus Post

http://www.klauspost.com



On Sat, Jun 26, 2010 at 01:07, Edouard Gomez <[email protected]> wrote:
> Use a common function to find the number of CPUs
>
> Index: DngDecoderSlices.cpp
> ===================================================================
> --- DngDecoderSlices.cpp        (révision 243)
> +++ DngDecoderSlices.cpp        (copie de travail)
> @@ -43,7 +43,7 @@
>  #ifdef WIN32
>   nThreads = pthread_num_processors_np();
>  #else
> -  nThreads = 2; // FIXME: Port this to unix
> +  nThreads = rawspeed_get_number_of_processor_cores();
>  #endif
>  }
>
>
> --
> Edouard Gomez
>
> _______________________________________________
> Rawstudio-dev mailing list
> [email protected]
> http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-dev
>

_______________________________________________
Rawstudio-dev mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-dev

Reply via email to