ReentrantLock.HasQueuedThreads Property
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.
Queries whether any threads are waiting to acquire this lock.
public bool HasQueuedThreads { [Android.Runtime.Register("hasQueuedThreads", "()Z", "")] get; }
[<get: Android.Runtime.Register("hasQueuedThreads", "()Z", "")>]
member this.HasQueuedThreads : bool
Property Value
true
if there may be other threads waiting to
acquire the lock
- Attributes
Remarks
Queries whether any threads are waiting to acquire this lock. Note that because cancellations may occur at any time, a true
return does not guarantee that any other thread will ever acquire this lock. This method is designed primarily for use in monitoring of the system state.
Java documentation for java.util.concurrent.locks.ReentrantLock.hasQueuedThreads()
.
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.