AbstractQueuedLongSynchronizer.HasContended 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 have ever contended to acquire this synchronizer; that is, if an acquire method has ever blocked.
public bool HasContended { [Android.Runtime.Register("hasContended", "()Z", "")] get; }
[<get: Android.Runtime.Register("hasContended", "()Z", "")>]
member this.HasContended : bool
Property Value
true
if there has ever been contention
- Attributes
Remarks
Queries whether any threads have ever contended to acquire this synchronizer; that is, if an acquire method has ever blocked.
In this implementation, this operation returns in constant time.
Java documentation for java.util.concurrent.locks.AbstractQueuedLongSynchronizer.hasContended()
.
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.