System.SyncObjs.TSpinLock.IsLocked
Delphi
property IsLocked: Boolean read GetIsLocked;
C++
__property bool IsLocked = {read=GetIsLocked};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | System.SyncObjs.pas System.SyncObjs.hpp |
System.SyncObjs | TSpinLock |
Description
Used to check whether the lock is currently held.
IsLocked returns True if the lock is acquired by a thread and False otherwise.