System.SyncObjs.TLightweightSemaphore.CurrentCount
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.