Increment

<< Click to Display Table of Contents >>

Navigation:  Classes > TIWInterlocked > Methods >

Increment

SIGNATURE=IW.Common.Interlocked.TIWInterlocked.Increment@Integer@Integer

 

ETYPE=Method

 

Declaration:

Delphi:

public class function Increment(var Target: Integer; Value: Integer): Integer; overload; static;

C++:

public: static __fastcall int Increment(int Target, int Value);

 

Description: Increments (increases by Value) the value of the specified 32-bit variable as an atomic operation Returns the resulting incremented value (Result := Target + Value)