API:System.SyncObjs.TMutex.Acquire
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 | TMutex |
Description
Provides the interface for a method that devotes the synchronization object to a thread.
System.SyncObjs.TMutex.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.