System.SyncObjs.TSpinLock.Enter
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.