API:System.SyncObjs.TConditionVariableCS.Acquire

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Acquire; override;

C++

virtual void __fastcall Acquire();

Properties

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

Description

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

System.SyncObjs.TConditionVariableCS.Acquire inherits from System.SyncObjs.TSynchroObject.Acquire. All content below this line refers to System.SyncObjs.TSynchroObject.Acquire.

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