Share via


AbstractQueuedSynchronizer.QueuedThreads Property

Definition

Returns a collection containing threads that may be waiting to acquire.

public System.Collections.Generic.ICollection<Java.Lang.Thread>? QueuedThreads { [Android.Runtime.Register("getQueuedThreads", "()Ljava/util/Collection;", "")] get; }
[<get: Android.Runtime.Register("getQueuedThreads", "()Ljava/util/Collection;", "")>]
member this.QueuedThreads : System.Collections.Generic.ICollection<Java.Lang.Thread>

Property Value

the collection of threads

Attributes

Remarks

Returns a collection containing threads that may be waiting to acquire. Because the actual set of threads may change dynamically while constructing this result, the returned collection is only a best-effort estimate. The elements of the returned collection are in no particular order. This method is designed to facilitate construction of subclasses that provide more extensive monitoring facilities.

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

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