System.SyncObjs.TSpinLock.IsLocked

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

property IsLocked: Boolean read GetIsLocked;

C++

__property bool IsLocked = {read=GetIsLocked};

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 actuellement posé.

IsLocked renvoie True si le verrou est acquis par un thread, et False sinon.

Voir aussi