Share via


ForkJoinPool.ActiveThreadCount Property

Definition

Returns an estimate of the number of threads that are currently stealing or executing tasks.

public virtual int ActiveThreadCount { [Android.Runtime.Register("getActiveThreadCount", "()I", "GetGetActiveThreadCountHandler")] get; }
[<get: Android.Runtime.Register("getActiveThreadCount", "()I", "GetGetActiveThreadCountHandler")>]
member this.ActiveThreadCount : int

Property Value

the number of active threads

Attributes

Remarks

Returns an estimate of the number of threads that are currently stealing or executing tasks. This method may overestimate the number of active threads.

Java documentation for java.util.concurrent.ForkJoinPool.getActiveThreadCount().

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