System.SyncObjs.TLightweightSemaphore.CurrentCount
Delphi
property CurrentCount: Integer read FCurrentCount;
C++
__property int CurrentCount = {read=FCurrentCount, nodefault};
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| property | public | System.SyncObjs.pas System.SyncObjs.hpp | System.SyncObjs | TLightweightSemaphore | 
Description
Specifies the number of threads that can acquire the semaphore.
CurrentCount is increased every time the Release method is called, and is decreased when a thread acquires the semaphore in the WaitFor method.