1 instantiation of ThreadPoolWorkQueue
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs (1)
1659internal static readonly ThreadPoolWorkQueue s_workQueue = new ThreadPoolWorkQueue();
18 references to ThreadPoolWorkQueue
System.Private.CoreLib (18)
src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.WorkerThread.cs (1)
135if (!ThreadPoolWorkQueue.Dispatch())
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (1)
3078ThreadPoolWorkQueue.TransferAllLocalWorkItemsToHighPriorityGlobalQueue();
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs (16)
725ThreadPoolWorkQueue queue = ThreadPool.s_workQueue; 919private static object? DequeueWithPriorityAlternation(ThreadPoolWorkQueue workQueue, ThreadPoolWorkQueueThreadLocals tl, out bool missedSteal) 954ThreadPoolWorkQueue workQueue = ThreadPool.s_workQueue; 1276public readonly ThreadPoolWorkQueue workQueue; 1277public readonly ThreadPoolWorkQueue.WorkStealingQueue workStealingQueue; 1282public ThreadPoolWorkQueueThreadLocals(ThreadPoolWorkQueue tpq) 1286workStealingQueue = new ThreadPoolWorkQueue.WorkStealingQueue(); 1287ThreadPoolWorkQueue.WorkStealingQueueList.Add(workStealingQueue); 1306ThreadPoolWorkQueue.WorkStealingQueueList.Remove(workStealingQueue); 1659internal static readonly ThreadPoolWorkQueue s_workQueue = new ThreadPoolWorkQueue(); 1941return ThreadPoolWorkQueue.LocalFindAndPop(workItem); 1969if (ThreadPoolWorkQueue.s_prioritizationExperiment) 1980foreach (ThreadPoolWorkQueue.WorkStealingQueue wsq in ThreadPoolWorkQueue.WorkStealingQueueList.Queues) 2010ThreadPoolWorkQueue workQueue = s_workQueue; 2011return ThreadPoolWorkQueue.LocalCount + workQueue.GlobalCount;