System.SyncObjs.TSpinLock.IsLockedByCurrentThread

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

property IsLockedByCurrentThread: Boolean read GetIsLockedByCurrentThread;

C++

__property bool IsLockedByCurrentThread = {read=GetIsLockedByCurrentThread};

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
property public
System.SyncObjs.pas
System.SyncObjs.hpp
System.SyncObjs TSpinLock

Beschreibung

Verwendet zum Überprüfen, ob die Sperre vom aktuellen Thread übernommen wird.

IsLockedByCurrentThread gibt True zurück, wenn die Sperre vom aktuellen Thread übernommen wird. Ansonsten wird False zurückgegeben.

Siehe auch