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

◆ Set() [2/2]

void System.Threading.ManualResetEventSlim.Set ( bool duringCancellation)
inlineprivateinherited

Definition at line 207 of file ManualResetEventSlim.cs.

208 {
209 this.UpdateStateAtomically(0, 32768);
210 int waiters = this.Waiters;
211 Monitor.Enter(this.m_lock, false);
212 Monitor.PulseAll(this.m_lock);
213 if (!false)
214 {
215 ManualResetEvent eventObj = this.m_eventObj;
216 if (eventObj != null)
217 {
218 Monitor.Enter(eventObj, false);
219 if (this.m_eventObj != null)
220 {
221 bool flag = this.m_eventObj.Set();
222 }
223 if (false)
224 {
225 throw new OutOfMemoryException();
226 }
227 }
228 return;
229 }
230 throw new OutOfMemoryException();
231 }
class f__AnonymousType0<< Count > j__TPar
void UpdateStateAtomically(int newBits, int updateBitsMask)

References System.Threading.Monitor.Enter(), j__TPar, System.Threading.ManualResetEventSlim.m_eventObj, System.Threading.ManualResetEventSlim.m_lock, System.Threading.Monitor.PulseAll(), System.Threading.EventWaitHandle.Set(), System.Threading.ManualResetEventSlim.UpdateStateAtomically(), and System.Threading.ManualResetEventSlim.Waiters.