System.SyncObjs.TSpinLock.IsLockedByCurrentThread

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

property IsLockedByCurrentThread: Boolean read GetIsLockedByCurrentThread;

C++

__property bool IsLockedByCurrentThread = {read=GetIsLockedByCurrentThread};

Propriétés

Type Visibilité  Source Unité  Parent
property public
System.SyncObjs.pas
System.SyncObjs.hpp
System.SyncObjs TSpinLock

Description

Utilisée pour vérifier si le verrou est acquis par le thread en cours.

IsLockedByCurrentThread renvoie True si le verrou est acquis par le thread en cours, et False sinon.

Voir aussi