System.SyncObjs.TSynchroObject.Acquire

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Acquire; virtual;

C++

virtual void __fastcall Acquire(void);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.SyncObjs.pas
System.SyncObjs.hpp
System.SyncObjs TSynchroObject

Description

Provides the interface for a method that devotes the synchronization object to a thread.

Call Acquire from the thread that needs to use the synchronization object. The Acquire method for TSynchroObject does nothing other than provide the interface for a method that can start the synchronization object working on behalf of the calling thread.

Code Examples

See Also