AbstractQueuedSynchronizer.IsQueued(Thread) Method
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 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.
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.