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

◆ BeginCriticalRegion()

static void System.Threading.Thread.BeginCriticalRegion ( )
inlinestatic

Definition at line 641 of file Thread.cs.

642 {
644 do
645 {
646 currentThread = Thread.CurrentThread;
647 }
648 while (currentThread.internal_thread != null);
649 int critical_region_level = currentThread.internal_thread.critical_region_level;
650 }
class f__AnonymousType0<< Count > j__TPar
Thread(ThreadStart start)
Definition Thread.cs:29

References System.Threading.InternalThread.critical_region_level, System.Threading.Thread.CurrentThread, System.Threading.Thread.internal_thread, and j__TPar.

Referenced by System.Threading.SpinLock.ContinueTryEnterWithThreadTracking(), System.Threading.SpinLock.Enter(), and System.Threading.SpinLock.TryEnter().