AbstractQueuedSynchronizer.HasQueuedThreads Property

Definition

Queries whether any threads are waiting to acquire.

public bool HasQueuedThreads { [Android.Runtime.Register("hasQueuedThreads", "()Z", "")] get; }
[<get: Android.Runtime.Register("hasQueuedThreads", "()Z", "")>]
member this.HasQueuedThreads : bool

Property Value

true if there may be other threads waiting to acquire

Attributes

Remarks

Queries whether any threads are waiting to acquire. Note that because cancellations due to interrupts and timeouts may occur at any time, a true return does not guarantee that any other thread will ever acquire.

Java documentation for java.util.concurrent.locks.AbstractQueuedSynchronizer.hasQueuedThreads().

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