Share via


AbstractQueuedSynchronizer.ConditionObject.HasWaiters Property

Definition

Queries whether any threads are waiting on this condition.

protected bool HasWaiters { [Android.Runtime.Register("hasWaiters", "()Z", "")] get; }
[<get: Android.Runtime.Register("hasWaiters", "()Z", "")>]
member this.HasWaiters : bool

Property Value

true if there are any waiting threads

Attributes

Exceptions

Remarks

Queries whether any threads are waiting on this condition. Implements AbstractQueuedSynchronizer#hasWaiters(ConditionObject).

Java documentation for java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject.hasWaiters().

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