다음을 통해 공유


AbstractQueuedLongSynchronizer.GetWaitingThreads Method

Definition

Returns a collection containing those threads that may be waiting on the given condition associated with this synchronizer.

[Android.Runtime.Register("getWaitingThreads", "(Ljava/util/concurrent/locks/AbstractQueuedLongSynchronizer$ConditionObject;)Ljava/util/Collection;", "")]
public System.Collections.Generic.ICollection<Java.Lang.Thread>? GetWaitingThreads (Java.Util.Concurrent.Locks.AbstractQueuedLongSynchronizer.ConditionObject? condition);
[<Android.Runtime.Register("getWaitingThreads", "(Ljava/util/concurrent/locks/AbstractQueuedLongSynchronizer$ConditionObject;)Ljava/util/Collection;", "")>]
member this.GetWaitingThreads : Java.Util.Concurrent.Locks.AbstractQueuedLongSynchronizer.ConditionObject -> System.Collections.Generic.ICollection<Java.Lang.Thread>

Parameters

Returns

the collection of threads

Attributes

Exceptions

if exclusive synchronization is not held

if the given condition is not associated with this synchronizer

if the condition is null

Remarks

Java documentation for java.util.concurrent.locks.AbstractQueuedLongSynchronizer.getWaitingThreads(java.util.concurrent.locks.ConditionObject).

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