次の方法で共有


AbstractQueuedLongSynchronizer.SharedQueuedThreads Property

Definition

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

public System.Collections.Generic.ICollection<Java.Lang.Thread>? SharedQueuedThreads { [Android.Runtime.Register("getSharedQueuedThreads", "()Ljava/util/Collection;", "")] get; }
[<get: Android.Runtime.Register("getSharedQueuedThreads", "()Ljava/util/Collection;", "")>]
member this.SharedQueuedThreads : 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 in shared mode. This has the same properties as #getQueuedThreads except that it only returns those threads waiting due to a shared acquire.

Java documentation for java.util.concurrent.locks.AbstractQueuedLongSynchronizer.getSharedQueuedThreads().

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