語言

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 文件 java.util.concurrent.ForkJoinPool.getActiveThreadCount()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於