TThread.ProcessorCount and TThread.IsSingleProcessor give wrong results
Original Reporter info from Mantis: Thaddy
-
Reporter name: Thaddy de Koning
Original Reporter info from Mantis: Thaddy
- Reporter name: Thaddy de Koning
Description:
On a RaspBerri Pi 3 the processor count should be 4 and IsSingleProcessor should be false, since it is a quad-core.
But the result is 1 resp. true.
So the class properties TThread.ProcessorCount and TThread.IsSingleProcessor give wrong results.
Steps to reproduce:
program untitled;
{$ifdef fpc}{$mode delphi}{$H+}{$endif}
uses classes;
begin
Writeln(TThread.ProcessorCount,' ' , TThread.IsSingleProcessor);
end.
---
renders: 1 TRUE
Mantis conversion info:
- Mantis ID: 31137
- OS: Raspbian
- OS Build: Jessie
- Build: 35133
- Platform: armhf
- Version: 3.1.1
- Fixed in version: 3.3.1
- Fixed in revision: 48106 (#d2b0bcdf)