AbstractQueuedSynchronizer.Owns 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 the given ConditionObject uses this synchronizer as its lock.
[Android.Runtime.Register("owns", "(Ljava/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject;)Z", "")]
public bool Owns (Java.Util.Concurrent.Locks.AbstractQueuedSynchronizer.ConditionObject? condition);
[<Android.Runtime.Register("owns", "(Ljava/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject;)Z", "")>]
member this.Owns : Java.Util.Concurrent.Locks.AbstractQueuedSynchronizer.ConditionObject -> bool
Parameters
the condition
Returns
true
if owned
- Attributes
Exceptions
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.