System.SyncObjs.TLightweightSemaphore.CurrentCount

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

property CurrentCount: Integer read FCurrentCount;

C++

__property int CurrentCount = {read=FCurrentCount, nodefault};

Propriétés

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

Description

Spécifie le nombre de threads qui peuvent acquérir le sémaphore.

CurrentCount augmente à chaque appel de la méthode Release, et diminue lorsqu'un thread acquiert le sémaphore de la méthode WaitFor.

Voir aussi