Read

<< Click to Display Table of Contents >>

Navigation:  Classes > TIWInterlocked > Methods >

Read

SIGNATURE=IW.Common.Interlocked.TIWInterlocked.Read@Pointer

 

ETYPE=Method

 

Declaration:

Delphi:

public class function Read(var Target: Pointer): Pointer; overload; static;

C++:

public: static __fastcall void * Read(void * Target);

 

Description: Performs an atomic read of Target pointer by using a CompareExchange operation The function returns the value of Target variable