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