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