System.SyncObjs.TLightweightMREW.TryBeginRead
Delphi
function TryBeginRead: Boolean; {$IF defined(LINUX) or defined(ANDROID)}overload;{$ENDIF}
C++
bool __fastcall TryBeginRead();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SyncObjs.pas System.SyncObjs.hpp |
System.SyncObjs | TLightweightMREW |
Description
TryBeginRead tries to acquire a lock in shared (reader) mode. It returns True if the lock was acquired. It does not block.