ForkJoinPool.ActiveThreadCount 属性

定义

返回当前正在窃取或正在执行任务的线程数的估计值。

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

属性值

活动线程数

属性

注解

返回当前正在窃取或正在执行任务的线程数的估计值。 此方法可能超过活动线程数。

适用于 . 的 java.util.concurrent.ForkJoinPool.getActiveThreadCount()Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于