Decrement

<< Click to Display Table of Contents >>

Navigation:  Classes > TIWInterlocked > Methods >

Decrement

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

 

ETYPE=Method

 

Declaration:

Delphi:

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

C++:

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

 

Description: Decrements (decreases by Value) the value of the specified 32-bit variable as an atomic operation The function returns the resulting incremented value (Result := Target - Value)