Java.Util.Concurrent.Locks.ReentrantLock.HasQueuedThread Method
Queries whether the given thread is waiting to acquire this lock.

Syntax

[Android.Runtime.Register("hasQueuedThread", "(Ljava/lang/Thread;)Z", "")]
public bool HasQueuedThread (Java.Lang.Thread thread)

Parameters

thread
the thread

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.NullPointerExceptionif the thread is null

Remarks

Queries whether the given thread is waiting to acquire this lock. Note that because cancellations may occur at any time, a true return does not guarantee that this thread will ever acquire this lock. This method is designed primarily for use in monitoring of the system state.

[Android Documentation]

Requirements

Namespace: Java.Util.Concurrent.Locks
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1