ForkJoinTask.QueuedTaskCount Property

Definition

Returns an estimate of the number of tasks that have been forked by the current worker thread but not yet executed.

public static int QueuedTaskCount { [Android.Runtime.Register("getQueuedTaskCount", "()I", "")] get; }
[<get: Android.Runtime.Register("getQueuedTaskCount", "()I", "")>]
static member QueuedTaskCount : int

Property Value

the number of tasks

Attributes

Remarks

Returns an estimate of the number of tasks that have been forked by the current worker thread but not yet executed. This value may be useful for heuristic decisions about whether to fork other tasks.

Java documentation for java.util.concurrent.ForkJoinTask.getQueuedTaskCount().

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