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

◆ SchedulerThread()

void System.Threading.Timer.Scheduler.SchedulerThread ( )
inlineprivate

Definition at line 181 of file Timer.cs.

182 {
183 Thread currentThread = Thread.CurrentThread;
184 Monitor.Enter(this, false);
185 bool flag = this.changed.Reset();
186 int num = this.RunSchedulerLoop();
187 long num2 = 0L;
188 if (true)
189 {
190 Monitor.Exit(this);
191 }
192 if (num2 == 0L)
193 {
194 ManualResetEvent manualResetEvent = this.changed;
195 return;
196 }
197 throw new OutOfMemoryException();
198 }
class f__AnonymousType0<< Count > j__TPar
ManualResetEvent changed
Definition Timer.cs:319

References System.Threading.Timer.Scheduler.changed, System.Threading.Thread.CurrentThread, System.Threading.Monitor.Enter(), System.Threading.Monitor.Exit(), j__TPar, System.L, System.Threading.EventWaitHandle.Reset(), and System.Threading.Timer.Scheduler.RunSchedulerLoop().