Mattias Gaertner schrieb: > I need a default value of the number of maximum threads. > Is there already some RTL function that can be used for that? > > For example if the program runs on a 2 x quad core it would be nice to > get 8. > Hyperthreading multipliers should be applied.
If we implement something like this, I propose we do it properly. There are different numbers important: - numa nodes - physical cpus - cache sharing cores - logical/execution unit sharing cores Which one are considered important? _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal