System.SysUtils.TSimpleRWSync.BeginRead
Delphi
procedure BeginRead;
C++
void __fastcall BeginRead(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | TSimpleRWSync |
Description
Acquires a read lock on the object.
Call the BeginRead method to acquire a read lock on the TSimpleRWSync object. Read locks presume that the acquiring thread will only perform read operations and not change the state of the object. This locking method is also known as "shared", where multiple threads can access an object at the same time.