AbstractQueuedLongSynchronizer.HasWaiters 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.
Queries whether any threads are waiting on the given condition associated with this synchronizer.
[Android.Runtime.Register("hasWaiters", "(Ljava/util/concurrent/locks/AbstractQueuedLongSynchronizer$ConditionObject;)Z", "")]
public bool HasWaiters (Java.Util.Concurrent.Locks.AbstractQueuedLongSynchronizer.ConditionObject? condition);
[<Android.Runtime.Register("hasWaiters", "(Ljava/util/concurrent/locks/AbstractQueuedLongSynchronizer$ConditionObject;)Z", "")>]
member this.HasWaiters : Java.Util.Concurrent.Locks.AbstractQueuedLongSynchronizer.ConditionObject -> bool
Parameters
the condition
Returns
true
if there are any waiting threads
- Attributes
Exceptions
if exclusive synchronization is not held
if the given condition is not associated with this synchronizer
if the condition is null
Remarks
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.