System.SyncObjs.TSpinLock.Enter

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Enter; inline;

C++

void __fastcall Enter();

Properties

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

Description

Checks whether the lock is available and waits until it succeeds.

Enter calls TryEnter with the INFINITE value as parameter.

See Also