6 references to MaxIoThreadsTimesCpuCount
System.Web (6)
HttpRuntime.cs (6)
1055
int maxThreads = (processConfig.MaxWorkerThreadsTimesCpuCount < processConfig.
MaxIoThreadsTimesCpuCount
) ? processConfig.MaxWorkerThreadsTimesCpuCount : processConfig.
MaxIoThreadsTimesCpuCount
;
1213
else if (pmConfig.MaxWorkerThreadsTimesCpuCount > 0 && pmConfig.
MaxIoThreadsTimesCpuCount
> 0) {
1219
if (pmConfig.MaxWorkerThreadsTimesCpuCount != workerMax || pmConfig.
MaxIoThreadsTimesCpuCount
!= ioMax) {
1220
Debug.Trace("ThreadPool", "SetThreadLimit: from " + workerMax + "," + ioMax + " to " + pmConfig.MaxWorkerThreadsTimesCpuCount + "," + pmConfig.
MaxIoThreadsTimesCpuCount
);
1221
UnsafeNativeMethods.SetClrThreadPoolLimits(pmConfig.MaxWorkerThreadsTimesCpuCount, pmConfig.
MaxIoThreadsTimesCpuCount
, false);