CyclicBarrier.NumberWaiting Property

Definition

Returns the number of parties currently waiting at the barrier.

public virtual int NumberWaiting { [Android.Runtime.Register("getNumberWaiting", "()I", "GetGetNumberWaitingHandler")] get; }
[<get: Android.Runtime.Register("getNumberWaiting", "()I", "GetGetNumberWaitingHandler")>]
member this.NumberWaiting : int

Property Value

the number of parties currently blocked in #await

Attributes

Remarks

Returns the number of parties currently waiting at the barrier. This method is primarily useful for debugging and assertions.

Java documentation for java.util.concurrent.CyclicBarrier.getNumberWaiting().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to