TInterlocked.Exchange¶
Declaration¶
Source position: syncobjs.pp line 216
class function Exchange(var Target: LongInt; Value: LongInt) : LongInt
; overload; static; overload;
class function Exchange(var Target: Int64; Value: Int64) : Int64
; overload; static; overload;
class function Exchange(var Target: Pointer; Value: Pointer) : Pointer
; overload; static; overload;
class function Exchange(var Target: TObject; Value: TObject) : TObject
; overload; static; overload;
class function Exchange<T: class>(var Target: T; Value: T) : T
; overload; static; overload;