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

◆ InvokeAndWait()

void ReLogic.OS.Windows.STATaskInvoker.InvokeAndWait ( Action action)
inlineprivate

Definition at line 55 of file STATaskInvoker.cs.

56 {
57 object taskInvokeLock = this._taskInvokeLock;
60 bool flag = Monitor.Wait(this._taskCompletionLock);
61 long num = 0L;
63 if (num != 0L)
64 {
65 throw new OutOfMemoryException();
66 }
67 long num2 = 0L;
69 if (num2 == 0L)
70 {
71 return;
72 }
73 throw new OutOfMemoryException();
74 }
class f__AnonymousType0<< Count > j__TPar
BlockingCollection< Action > _staTasks
static bool Wait(object obj, int millisecondsTimeout, bool exitContext)
Definition Monitor.cs:64
static void Exit(object obj)
Definition Monitor.cs:47

References ReLogic.OS.Windows.STATaskInvoker._staTasks, ReLogic.OS.Windows.STATaskInvoker._taskCompletionLock, ReLogic.OS.Windows.STATaskInvoker._taskInvokeLock, System.Threading.Monitor.Exit(), j__TPar, System.L, and System.Threading.Monitor.Wait().