Unit 'syncobjs' Package
[Overview][Constants][Types][Classes][Index] [#fcl]

TInterlocked.CompareExchange

Declaration

Source position: syncobjs.pp line 145

class function TInterlocked.CompareExchange(

  var Target: LongInt;

  Value: LongInt;

  Comparand: LongInt

):LongInt; overload;

class function TInterlocked.CompareExchange(

  var Target: LongInt;

  Value: LongInt;

  Comparand: LongInt;

  out Succeeded: Boolean

):LongInt; overload;

class function TInterlocked.CompareExchange(

  var Target: Int64;

  Value: Int64;

  Comparand: Int64

):Int64; overload;

class function TInterlocked.CompareExchange(

  var Target: Pointer;

  Value: Pointer;

  Comparand: Pointer

):Pointer; overload;

class function TInterlocked.CompareExchange(

  var Target: TObject;

  Value: TObject;

  Comparand: TObject

):TObject; overload;

class function TInterlocked.CompareExchange(

  var Target: T;

  Value: T;

  Comparand: T

):T; overload;


Documentation generated on: Dec 22 2024