共用方式為


ReentrantSemaphore.CurrentCount Property

Definition

Gets the number of openings that remain in the semaphore.

public:
 property int CurrentCount { int get(); };
public int CurrentCount { get; }
member this.CurrentCount : int
Public ReadOnly Property CurrentCount As Integer

Property Value

Applies to