System.SysUtils.IReadWriteSync.BeginRead

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure BeginRead;

C++

virtual void __fastcall BeginRead() = 0 ;

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils IReadWriteSync

Description

Acquires a read lock on the object.

Implement the BeginRead method to provide read locking for your 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", because multiple threads can access the object at the same time.

See Also