ExchangeAdd64

<< Click to Display Table of Contents >>

Navigation:  Classes > TIWInterlocked > Methods >

ExchangeAdd64

SIGNATURE=IW.Common.Interlocked.TIWInterlocked.ExchangeAdd64@Int64@Int64

 

ETYPE=Method

 

Declaration:

Delphi:

public class function ExchangeAdd64(var Target: Int64; Value: Int64): Int64; overload; static;

C++:

public: static __fastcall __int64 ExchangeAdd64(__int64 Target, __int64 Value);

 

Description: Performs an atomic addition of two 64-bit values, adding Value to Target. The result of the addition is stored in Target Returns the initial value of the Target parameter