InterlockedExchange64

<< Click to Display Table of Contents >>

Navigation:  Functions >

InterlockedExchange64

SIGNATURE=IW.Common.Interlocked.InterlockedExchange64@Int64@Int64

 

ETYPE=Function

 

Declaration:

Delphi:

function InterlockedExchange64(var Target: Int64; Value: Int64): Int64;

C++:

__int64 InterlockedExchange64(__int64 Target, __int64 Value);

 

Unit: IW.Common.Interlocked.pas

 

Description: Sets a 64-bit variable to the specified value as an atomic operation. Returns the *previous* value of Target

 

Parameters:

 

•Target: Int64

 

•Value: Int64

 

Result(Int64):