Semaphore.QueueLength Property

Definition

Returns an estimate of the number of threads waiting to acquire.

public int QueueLength { [Android.Runtime.Register("getQueueLength", "()I", "")] get; }
[<get: Android.Runtime.Register("getQueueLength", "()I", "")>]
member this.QueueLength : int

Property Value

Int32

the estimated number of threads waiting for this lock

Attributes

Remarks

Java documentation for java.util.concurrent.Semaphore.getQueueLength().

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