terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ LocalPop()

bool System.Threading.ThreadPoolWorkQueue.WorkStealingQueue.LocalPop ( [Out] IThreadPoolWorkItem obj)
inline

Definition at line 199 of file ThreadPoolWorkQueue.cs.

200 {
201 int tailIndex = this.m_tailIndex;
202 int headIndex = this.m_headIndex;
203 int headIndex2 = this.m_headIndex;
204 int mask = this.m_mask;
205 IThreadPoolWorkItem[] array = this.m_array;
206 while (mask == 0)
207 {
208 }
209 int headIndex3 = this.m_headIndex;
210 int mask2 = this.m_mask;
211 IThreadPoolWorkItem[] array2 = this.m_array;
212 if (headIndex != 0)
213 {
214 IThreadPoolWorkItem[] array3 = this.m_array;
215 if (false)
216 {
217 throw new OutOfMemoryException();
218 }
219 }
220 throw new OutOfMemoryException();
221 }
class f__AnonymousType0<< Count > j__TPar

References System.array, j__TPar, System.Threading.ThreadPoolWorkQueue.WorkStealingQueue.m_array, System.Threading.ThreadPoolWorkQueue.WorkStealingQueue.m_headIndex, System.Threading.ThreadPoolWorkQueue.WorkStealingQueue.m_mask, and System.Threading.ThreadPoolWorkQueue.WorkStealingQueue.m_tailIndex.