You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling the benchmark for 32-bit Windows, errors occur when GetLogicalProcessorInformation is called because it is missing the stdcall directive.
On lines 1022-1023 of Spring.Benchmark.pas:
funnction GetLogicalProcessorInformation(Buffer: PSystemLogicalProcessorInformation;
var ReturnedLength: DWORD): BOOL; external kernel32 name 'GetLogicalProcessorInformation';
It should instead be:
function GetLogicalProcessorInformation(Buffer: PSystemLogicalProcessorInformation;
var ReturnedLength: DWORD): BOOL; stdcall; external kernel32 name 'GetLogicalProcessorInformation';
Notably, the declarations for WakeAllConditionVariable and SleepConditionVariableCS do have stdcall present.
The text was updated successfully, but these errors were encountered:
When compiling the benchmark for 32-bit Windows, errors occur when
GetLogicalProcessorInformation
is called because it is missing thestdcall
directive.On lines 1022-1023 of
Spring.Benchmark.pas
:It should instead be:
Notably, the declarations for
WakeAllConditionVariable
andSleepConditionVariableCS
do havestdcall
present.The text was updated successfully, but these errors were encountered: