System.SyncObjs.TCriticalSection.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 TCriticalSection

Description

Binds the critical section to the calling thread.

Call Acquire to block all other threads from acquiring this critical section until the Release or Leave method is called. Acquire does the same thing as the Enter method.

See Also