<p>Am 12.09.2014 17:31 schrieb "Marco van de Voort" <<a href="mailto:marcov@stack.nl">marcov@stack.nl</a>>:<br>
><br>
> In our previous episode, Sven Barth said:<br>
> > FPC 2.7.1 has TThread.ProcessorCount (it's a class property, so no instance<br>
> > needed) or System.CpuCount (ProcessorCount uses this). It's not yet<br>
> > implemented though for any system :/<br>
><br>
> I ran it to test if it made a difference between cores and hyperthreading,<br>
> but didn't even get that far, on Windows it seems to always return 1.</p>
<p>Considering that the implementation is currently "Result := 1" for any target that is no surprise ;)</p>
<p>Regards,<br>
Sven</p>