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