Share via


AbstractQueuedLongSynchronizer.IsQueued(Thread) Method

Definition

Returns true if the given thread is currently queued.

[Android.Runtime.Register("isQueued", "(Ljava/lang/Thread;)Z", "")]
public bool IsQueued (Java.Lang.Thread? thread);
[<Android.Runtime.Register("isQueued", "(Ljava/lang/Thread;)Z", "")>]
member this.IsQueued : Java.Lang.Thread -> bool

Parameters

thread
Thread

the thread

Returns

true if the given thread is on the queue

Attributes

Exceptions

if the thread is null

Remarks

Returns true if the given thread is currently queued.

This implementation traverses the queue to determine presence of the given thread.

Java documentation for java.util.concurrent.locks.AbstractQueuedLongSynchronizer.isQueued(java.lang.Thread).

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