[fpc-devel] InterLockedExchange vs InterLockedExchange64 using pointers on cpu64

Michael Schnell mschnell at lumino.de
Thu Nov 4 09:17:02 CET 2010


On 11/03/2010 08:02 PM, Andrew Brunner wrote:
> On a 64bit fpc compile, and 64bit system with pointers, which
> interlocked exchange is best used?  Aren't pointers on x64 64bit
> pointers?  Shouldn't we be using InterlockedExhange64 code to access
> specific x64 swaps?

Obviously a specific InterlockedExhangePtr() function would be appropriate.

-Michael





More information about the fpc-devel mailing list