Share via


ForkJoinPool.RunningThreadCount Property

Definition

Returns an estimate of the number of worker threads that are not blocked waiting to join tasks or for other managed synchronization.

public virtual int RunningThreadCount { [Android.Runtime.Register("getRunningThreadCount", "()I", "GetGetRunningThreadCountHandler")] get; }
[<get: Android.Runtime.Register("getRunningThreadCount", "()I", "GetGetRunningThreadCountHandler")>]
member this.RunningThreadCount : int

Property Value

the number of worker threads

Attributes

Remarks

Returns an estimate of the number of worker threads that are not blocked waiting to join tasks or for other managed synchronization. This method may overestimate the number of running threads.

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

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