|
<< Click to Display Table of Contents >> Navigation: Classes > TIWInterlocked > Methods > ExchangeAdd |
SIGNATURE=IW.Common.Interlocked.TIWInterlocked.ExchangeAdd@Integer@Integer
ETYPE=Method
Declaration:
Delphi: |
public class function ExchangeAdd(var Target: Integer; Value: Integer): Integer; overload; static; |
C++: |
public: static __fastcall int ExchangeAdd(int Target, int Value); |
Description: Performs an atomic addition of two 32-bit values, adding Value to Target. The result of the addition is stored in Target The function returns the initial value of the Target parameter