15 references to ThreadPoolGlobals
mscorlib (15)
system\threading\threadpool.cs (15)
581
while (count <
ThreadPoolGlobals
.processorCount)
714
var workQueue =
ThreadPoolGlobals
.workQueue;
750
while ((Environment.TickCount - quantumStartTime) <
ThreadPoolGlobals
.tpQuantum)
797
if (
ThreadPoolGlobals
.enableWorkerTracking)
1642
ThreadPoolGlobals
.workQueue.Enqueue(tpcallBack, true);
1665
ThreadPoolGlobals
.workQueue.Enqueue(workItem, forceGlobal);
1674
if (!
ThreadPoolGlobals
.vmTpInitialized)
1676
return
ThreadPoolGlobals
.workQueue.LocalFindAndPop(workItem);
1683
return EnumerateQueuedWorkItems(ThreadPoolWorkQueue.allThreadQueues.Current,
ThreadPoolGlobals
.workQueue.queueTail);
1733
return EnumerateQueuedWorkItems(null,
ThreadPoolGlobals
.workQueue.queueTail);
1803
if (!
ThreadPoolGlobals
.vmTpInitialized)
1805
ThreadPool.InitializeVMTp(ref
ThreadPoolGlobals
.enableWorkerTracking);
1806
ThreadPoolGlobals
.vmTpInitialized = true;
1850
if (!
ThreadPoolGlobals
.vmTpInitialized)
1851
ThreadPool.InitializeVMTp(ref
ThreadPoolGlobals
.enableWorkerTracking);