AbstractQueuedSynchronizer.hasQueuedThreads

Queries whether any threads are waiting to acquire. Note that because cancellations due to interrupts and timeouts may occur at any time, a {@code true} return does not guarantee that any other thread will ever acquire.

@return {@code true} if there may be other threads waiting to acquire

class AbstractQueuedSynchronizer
final
bool
hasQueuedThreads
()

Meta