In our previous episode, Reinier Olislagers said:
> The build faq (that I have) states:
> 1. Does make -j work reliably on Windows, too?
> 2. I intend to detect the number of logical cores as per
> http://wiki.lazarus.freepascal.org/Example_of_multi-threaded_application:_array_of_threads#1._Detect_number_of_cores_available.
> and run that many jobs. Is that a good idea?

No. Even not on Windows. You need the number of physical cores, not logical
ones.  This will return the duplicate number of cores on systems with
hyperthreading. (I tested on my system and indeed, 8 instead of 4)



_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to