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

◆ ContinueTryEnterWithThreadTracking()

void System.Threading.SpinLock.ContinueTryEnterWithThreadTracking ( int millisecondsTimeout,
uint startTime,
bool lockTaken )
inlineprivate

Definition at line 45 of file SpinLock.cs.

46 {
47 Thread currentThread;
48 do
49 {
50 currentThread = Thread.CurrentThread;
51 }
52 while (currentThread.internal_thread != null);
53 int managed_id = currentThread.internal_thread.managed_id;
54 Thread.BeginCriticalRegion();
55 int num;
56 if (num != 0)
57 {
58 Thread.EndCriticalRegion();
59 if (millisecondsTimeout != 0)
60 {
62 }
63 }
64 }
class f__AnonymousType0<< Count > j__TPar
static int TickCount

References System.Threading.Thread.BeginCriticalRegion(), System.Threading.Thread.CurrentThread, System.Threading.Thread.EndCriticalRegion(), System.Threading.Thread.internal_thread, j__TPar, System.Threading.InternalThread.managed_id, and System.Environment.TickCount.