Share via


HostingEnvironment.MaxConcurrentThreadsPerCPU 屬性

定義

取得或設定每一個 CPU 的最大並行執行緒數目。

public:
 static property int MaxConcurrentThreadsPerCPU { int get(); void set(int value); };
public static int MaxConcurrentThreadsPerCPU { get; set; }
static member MaxConcurrentThreadsPerCPU : int with get, set
Public Shared Property MaxConcurrentThreadsPerCPU As Integer

屬性值

每一個 CPU 的最大並行執行緒數目。

適用於