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
RuntimeThread.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x02000065 RID: 101
8 internal sealed class RuntimeThread
9 {
10 // Token: 0x06000234 RID: 564 RVA: 0x00008300 File Offset: 0x00006500
12 {
13 this.thread = t;
14 }
15
16 // Token: 0x06000235 RID: 565 RVA: 0x0000207A File Offset: 0x0000027A
18 {
19 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
20 }
21
22 // Token: 0x1700003D RID: 61
23 // (set) Token: 0x06000236 RID: 566 RVA: 0x0000831C File Offset: 0x0000651C
24 public bool IsBackground
25 {
26 set
27 {
29 }
30 }
31
32 // Token: 0x06000237 RID: 567 RVA: 0x00008338 File Offset: 0x00006538
33 public void Start(object state)
34 {
35 this.thread.Start(state);
36 }
37
38 // Token: 0x06000238 RID: 568 RVA: 0x00008354 File Offset: 0x00006554
39 public static void Sleep(int millisecondsTimeout)
40 {
41 Thread.Sleep(millisecondsTimeout);
42 }
43
44 // Token: 0x06000239 RID: 569 RVA: 0x00008368 File Offset: 0x00006568
45 public static bool Yield()
46 {
47 return Thread.Yield();
48 }
49
50 // Token: 0x0600023A RID: 570 RVA: 0x0000837C File Offset: 0x0000657C
51 public static bool SpinWait(int iterations)
52 {
53 return true;
54 }
55
56 // Token: 0x0600023B RID: 571 RVA: 0x0000838C File Offset: 0x0000658C
57 public static int GetCurrentProcessorId()
58 {
59 return 1;
60 }
61
62 // Token: 0x0600023C RID: 572 RVA: 0x0000839C File Offset: 0x0000659C
63 // Note: this type is marked as 'beforefieldinit'.
65 {
66 }
67
68 // Token: 0x04000196 RID: 406
70
71 // Token: 0x04000197 RID: 407
73 }
74}
class f__AnonymousType0<< Count > j__TPar
static bool SpinWait(int iterations)
static readonly int OptimalMaxSpinWaitsPerSpinIteration
static void Sleep(int millisecondsTimeout)
static RuntimeThread Create(ParameterizedThreadStart start, int maxStackSize)
static bool Yield()
Definition Thread.cs:224
static void Sleep(int millisecondsTimeout)
Definition Thread.cs:207