gabr42 / OmniThreadLibrary

A simple and powerful multithreading library for Delphi
http://www.omnithreadlibrary.com
Other
466 stars 142 forks source link

strange reference to kernel.dll #199

Open Jens-G opened 1 month ago

Jens-G commented 1 month ago

In https://github.com/gabr42/OmniThreadLibrary/blob/master/src/DSiWin32.pas#L9639 it says:

procedure DynaLoadAPIs;
begin
  GInterlockedCompareExchange64 := DSiGetProcAddress('kernel.dll', 'InterlockedCompareExchange64');
end; { DynaLoadAPIs }

Shouldn't that be kernel32.dll?