On 18 July 2013 23:54, dw wrote:
>
>> you are changing Interlocked*() calls to system DLL
>> functions into inline functions
>
> This is true.  If you are using x86, non-underscore versions (ie
> InterlockedExchange vs _InterlockedExchange) of these 6 functions.
>
>> I hope this is disabled by default / __MINGW_INTRIN_INLINE is undefined
>> by default.
>
> Why?  What problems do you envision?
Well, I expect that if the function does exist and MS' headers bind to
it as well, so should the Mingw headers. My opinion is that the Mingw
Win32 API headers should follow MS' where possible.

>
>> To me this looks like trading future proof solution for speed.
>
> Since MS has omitted these functions from the x64 version of
> kernel32.dll and replaced them with inline versions, I'm not clear what
> future problems you are expecting.
TBH, I did not know that and I am surprised by this. Given this, I
retract my objection.

-- 
VZ

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to