1 instantiation of ThreadPoolWorkQueue
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs (1)
1353internal static readonly ThreadPoolWorkQueue s_workQueue = new ThreadPoolWorkQueue();
20 references to ThreadPoolWorkQueue
System.Private.CoreLib (20)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.WorkerThread.cs (3)
137switch (ThreadPoolWorkQueue.Dispatch()) 139case ThreadPoolWorkQueue.DispatchResult.Spurious: 144case ThreadPoolWorkQueue.DispatchResult.ShouldStop:
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (1)
3233ThreadPoolWorkQueue.TransferAllLocalWorkItemsToHighPriorityGlobalQueue();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs (16)
704ThreadPoolWorkQueue queue = ThreadPool.s_workQueue; 895ThreadPoolWorkQueue workQueue = ThreadPool.s_workQueue; 1030ThreadPoolWorkQueue.TransferAllLocalWorkItemsToHighPriorityGlobalQueue(tl); 1130public readonly ThreadPoolWorkQueue workQueue; 1131public readonly ThreadPoolWorkQueue.WorkStealingQueue workStealingQueue; 1136public ThreadPoolWorkQueueThreadLocals(ThreadPoolWorkQueue tpq) 1141workStealingQueue = new ThreadPoolWorkQueue.WorkStealingQueue(); 1142ThreadPoolWorkQueue.WorkStealingQueueList.Add(workStealingQueue); 1153ThreadPoolWorkQueue.TransferAllLocalWorkItemsToHighPriorityGlobalQueue(this); 1154ThreadPoolWorkQueue.WorkStealingQueueList.Remove(workStealingQueue); 1353internal static readonly ThreadPoolWorkQueue s_workQueue = new ThreadPoolWorkQueue(); 1660return ThreadPoolWorkQueue.LocalFindAndPop(workItem); 1699foreach (ThreadPoolWorkQueue.WorkStealingQueue wsq in ThreadPoolWorkQueue.WorkStealingQueueList.Queues) 1729ThreadPoolWorkQueue workQueue = s_workQueue; 1730return ThreadPoolWorkQueue.LocalCount + workQueue.GlobalCount;