다음을 통해 공유


ReentrantLock.IsFair Property

Definition

Returns true if this lock has fairness set true.

public bool IsFair { [Android.Runtime.Register("isFair", "()Z", "")] get; }
[<get: Android.Runtime.Register("isFair", "()Z", "")>]
member this.IsFair : bool

Property Value

true if this lock has fairness set true

Attributes

Remarks

Returns true if this lock has fairness set true.

Java documentation for java.util.concurrent.locks.ReentrantLock.isFair().

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