Semaphore.IsFair Property

Definition

Returns true if this semaphore has fairness set true.

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

Property Value

true if this semaphore has fairness set true

Attributes

Remarks

Returns true if this semaphore has fairness set true.

Java documentation for java.util.concurrent.Semaphore.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