System.SyncObjs.TSpinLock.IsLocked

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also