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

◆ TerminateThreadAndWait()

static void ThreadManager.TerminateThreadAndWait ( ManagedThread thread)
inlinestatic

Definition at line 229 of file ThreadManager.cs.

230 {
231 int num;
232 for (;;)
233 {
234 num = 1;
235 if (num == 0)
236 {
237 }
238 if (num == 0)
239 {
240 }
241 if (thread.IsAlive)
242 {
243 break;
244 }
245 long num2 = 0L;
246 int num3 = 3;
247 if (num != 0)
248 {
249 }
250 if (num2 != 0L)
251 {
252 goto IL_0027;
253 }
254 if (num3 != 0)
255 {
256 return;
257 }
258 Thread.Sleep(0);
259 if (!thread.IsAlive)
260 {
261 goto Block_3;
262 }
263 }
264 if (num == 0)
265 {
266 }
267 if (num == 0)
268 {
269 }
270 return;
271 IL_0027:
272 throw new OutOfMemoryException();
273 Block_3:
274 throw new OutOfMemoryException();
275 }
class f__AnonymousType0<< Count > j__TPar
static void Sleep(int millisecondsTimeout)
Definition Thread.cs:207

References ManagedThread.IsAlive, j__TPar, System.L, and System.Threading.Thread.Sleep().