System.SysUtils.TSimpleRWSync.BeginRead

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also