Semaphore.QueuedThreads Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a collection containing threads that may be waiting to acquire.
protected virtual System.Collections.Generic.ICollection<Java.Lang.Thread>? QueuedThreads { [Android.Runtime.Register("getQueuedThreads", "()Ljava/util/Collection;", "GetGetQueuedThreadsHandler")] get; }
[<get: Android.Runtime.Register("getQueuedThreads", "()Ljava/util/Collection;", "GetGetQueuedThreadsHandler")>]
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.Semaphore.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.