System.SyncObjs.TSpinLock.IsLockedByCurrentThread
Delphi
property IsLockedByCurrentThread: Boolean read GetIsLockedByCurrentThread;
C++
__property bool IsLockedByCurrentThread = {read=GetIsLockedByCurrentThread};
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 acquired by the current thread.
IsLockedByCurrentThread returns True if the lock is acquired by the current thread and False otherwise.