10 references to MaxPossibleThreadCount
System.Private.CoreLib (10)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.Blocking.cs (3)
322if (ThreadsToAddWithoutDelay > MaxPossibleThreadCount || 325ThreadsToAddWithoutDelay = MaxPossibleThreadCount; 329short maxThreadsPerDelayStep = (short)(MaxPossibleThreadCount - ThreadsToAddWithoutDelay);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.cs (7)
23private const short DefaultMaxWorkerThreadCount = MaxPossibleThreadCount; 138if (_minThreads > MaxPossibleThreadCount) 140_minThreads = MaxPossibleThreadCount; 144if (_maxThreads > MaxPossibleThreadCount) 146_maxThreads = MaxPossibleThreadCount; 288_legacy_maxIOCompletionThreads = (short)Math.Min(ioCompletionThreads, MaxPossibleThreadCount); 290short newMaxThreads = (short)Math.Min(workerThreads, MaxPossibleThreadCount);