isQueued

fun isQueued(thread: Job): Boolean

Returns true if the given thread is currently queued.

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

Return

true if the given thread is on the queue

Parameters

thread

the thread

Throws

if the thread is null