SetThreadAffinityMask issue
Posted: Fri May 22, 2015 3:31 pm
Hello,
madKernel uses Delphi's SetThreadAffinityMask, but we've discovered this kernel32 API is imported with a wrong signature up to XE5 (see
http://qc.embarcadero.com/wc/qcmain.aspx?d=121460) The effect is that on any machine with 32 or more cores, the call can (and will) fail.
Just a heads up for anyone encountering unexplainable crashes.
madKernel uses Delphi's SetThreadAffinityMask, but we've discovered this kernel32 API is imported with a wrong signature up to XE5 (see
http://qc.embarcadero.com/wc/qcmain.aspx?d=121460) The effect is that on any machine with 32 or more cores, the call can (and will) fail.
Just a heads up for anyone encountering unexplainable crashes.