4 writes to NumThreadsGoal
System.Private.CoreLib (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.cs (1)
165
_separated.counts.
NumThreadsGoal
= _minThreads;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.GateThread.cs (1)
163
newCounts.
NumThreadsGoal
= newNumThreadsGoal;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.ThreadCounts.cs (1)
150
newCounts.
NumThreadsGoal
= value;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.WorkerThread.cs (1)
208
newCounts.
NumThreadsGoal
= newNumThreadsGoal;
16 references to NumThreadsGoal
System.Private.CoreLib (16)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.Blocking.cs (4)
15
return Math.Min(_separated.counts.
NumThreadsGoal
, TargetThreadsGoalForBlockingAdjustment);
47
_separated.counts.
NumThreadsGoal
< TargetThreadsGoalForBlockingAdjustment)
82
_separated.counts.
NumThreadsGoal
> TargetThreadsGoalForBlockingAdjustment)
130
short numThreadsGoal = counts.
NumThreadsGoal
;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.cs (5)
223
else if (_separated.counts.
NumThreadsGoal
< newMinThreads)
297
if (_separated.counts.
NumThreadsGoal
> newMaxThreads)
391
if (counts.NumProcessingWork > counts.
NumThreadsGoal
||
406
short oldNumThreadsGoal = counts.
NumThreadsGoal
;
470
if (counts.NumProcessingWork > counts.
NumThreadsGoal
)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.GateThread.cs (2)
154
counts.NumProcessingWork >= counts.
NumThreadsGoal
)
219
minimumDelay = (uint)threadPoolInstance._separated.counts.
NumThreadsGoal
* DequeueDelayThresholdMs;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.ThreadCounts.cs (3)
70
if (NumProcessingWork <
NumThreadsGoal
)
167
if (newCounts.
NumThreadsGoal
!= oldCounts.
NumThreadsGoal
)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.WorkerThread.cs (2)
207
Math.Min(newNumExistingThreads, counts.
NumThreadsGoal
));
313
if (counts.NumProcessingWork <= counts.
NumThreadsGoal
)