Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ThreadPoolWorkQueueThreadLocals()

System.Threading.ThreadPoolWorkQueueThreadLocals.ThreadPoolWorkQueueThreadLocals ( ThreadPoolWorkQueue tpq)
inline

Definition at line 18 of file ThreadPoolWorkQueueThreadLocals.cs.

19 {
20 workQueue = tpq;
21 workStealingQueue = new ThreadPoolWorkQueue.WorkStealingQueue();
22 ThreadPoolWorkQueue.WorkStealingQueueList.Add(workStealingQueue);
23 currentThread = Thread.CurrentThread;
24 threadLocalCompletionCountObject = ThreadPool.GetOrCreateThreadLocalCompletionCountObject();
25 }
readonly ThreadPoolWorkQueue.WorkStealingQueue workStealingQueue

References System.Threading.ThreadPoolWorkQueue.WorkStealingQueueList.Add(), System.Threading.Thread.CurrentThread, System.Threading.ThreadPoolWorkQueueThreadLocals.currentThread, System.Threading.ThreadPool.GetOrCreateThreadLocalCompletionCountObject(), System.Threading.ThreadPoolWorkQueueThreadLocals.threadLocalCompletionCountObject, System.Threading.ThreadPoolWorkQueueThreadLocals.workQueue, and System.Threading.ThreadPoolWorkQueueThreadLocals.workStealingQueue.