StampedLock.IsWriteLocked Property

Definition

Returns true if the lock is currently held exclusively.

public virtual bool IsWriteLocked { [Android.Runtime.Register("isWriteLocked", "()Z", "GetIsWriteLockedHandler", ApiSince=24)] get; }
[<get: Android.Runtime.Register("isWriteLocked", "()Z", "GetIsWriteLockedHandler", ApiSince=24)>]
member this.IsWriteLocked : bool

Property Value

true if the lock is currently held exclusively

Attributes

Remarks

Returns true if the lock is currently held exclusively.

Java documentation for java.util.concurrent.locks.StampedLock.isWriteLocked().

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.

Applies to