System.SyncObjs.TLightweightMREW.BeginRead
Delphi
procedure BeginRead;
C++
void __fastcall BeginRead();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.SyncObjs.pas System.SyncObjs.hpp |
System.SyncObjs | TLightweightMREW |
Description
BeginRead method acquires a lock-in shared (reader) mode. It blocks until a lock can be acquired. A single thread can recursively acquire a shared lock multiple times.
Tip: Each BeginRead call must be paired with an EndRead call.