Condividi tramite


StampedLock.IsReadLocked Property

Definition

Returns true if the lock is currently held non-exclusively.

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

Property Value

true if the lock is currently held non-exclusively

Attributes

Remarks

Returns true if the lock is currently held non-exclusively.

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

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