The old code will not correctly report the number of threads on CPUs with more than one processor group, i.e. when there are more than 64 logical processors (threads).
The old code will not correctly report the number of threads on CPUs with more than one processor group, i.e. when there are more than 64 logical processors (threads).