HostingEnvironment.MaxConcurrentThreadsPerCPU 属性

定义

获取或设置每 CPU 的最大并发线程数。

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

属性值

Int32

每 CPU 的最大并发线程数。

适用于