26 references to ThreadPoolInstance
System.Private.CoreLib (26)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.cs (1)
519
PortableThreadPool.
ThreadPoolInstance
.RegisterWaitHandle(registeredWaitHandle);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.GateThread.cs (1)
51
PortableThreadPool threadPoolInstance =
ThreadPoolInstance
;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.HillClimbing.cs (1)
307
PortableThreadPool threadPoolInstance =
ThreadPoolInstance
;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.ThreadCounts.cs (2)
144
ThreadPoolInstance
._threadAdjustmentLock.VerifyIsLocked();
169
ThreadPoolInstance
._threadAdjustmentLock.VerifyIsLocked();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.WaitThread.cs (4)
267
if (numUserWaits == 0 &&
ThreadPoolInstance
.TryRemoveWaitThread(this))
291
PortableThreadPool threadPoolInstance =
ThreadPoolInstance
;
397
ThreadPoolInstance
._waitThreadLock.VerifyIsLocked();
440
PortableThreadPool threadPoolInstance =
ThreadPoolInstance
;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.WorkerThread.cs (2)
49
(uint)
ThreadPoolInstance
._separated.counts.VolatileRead().NumExistingThreads);
68
PortableThreadPool threadPoolInstance =
ThreadPoolInstance
;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPool.Unix.cs (15)
25
PortableThreadPool.
ThreadPoolInstance
.NotifyDispatchProgress(currentTickCount);
31
PortableThreadPool.
ThreadPoolInstance
.GetOrCreateThreadLocalCompletionCountNode();
34
PortableThreadPool.
ThreadPoolInstance
.SetMaxThreads(workerThreads, completionPortThreads);
38
PortableThreadPool.
ThreadPoolInstance
.GetMaxThreads(out workerThreads, out completionPortThreads);
42
PortableThreadPool.
ThreadPoolInstance
.SetMinThreads(workerThreads, completionPortThreads);
46
PortableThreadPool.
ThreadPoolInstance
.GetMinThreads(out workerThreads, out completionPortThreads);
51
PortableThreadPool.
ThreadPoolInstance
.GetAvailableThreads(out workerThreads, out completionPortThreads);
57
PortableThreadPool.
ThreadPoolInstance
.NotifyWorkItemProgress();
61
PortableThreadPool.
ThreadPoolInstance
.NotifyThreadBlocked();
65
PortableThreadPool.
ThreadPoolInstance
.NotifyThreadUnblocked();
70
PortableThreadPool.
ThreadPoolInstance
.NotifyWorkItemComplete(threadLocalCompletionCountNode, currentTimeMs);
77
PortableThreadPool.
ThreadPoolInstance
.EnsureWorkerRequested();
82
PortableThreadPool.
ThreadPoolInstance
.ReportThreadStatus(isWorking);
121
return PortableThreadPool.
ThreadPoolInstance
.ThreadCount;
135
return PortableThreadPool.
ThreadPoolInstance
.CompletedWorkItemCount;