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.
1
using
System
;
2
using
System.Threading
;
3
using
Cpp2IlInjected
;
4
5
namespace
Internal.Runtime.Augments
6
{
7
// Token: 0x02000065 RID: 101
8
internal
sealed
class
RuntimeThread
9
{
10
// Token: 0x06000234 RID: 564 RVA: 0x00008300 File Offset: 0x00006500
11
private
RuntimeThread
(
Thread
t)
12
{
13
this.thread
= t;
14
}
15
16
// Token: 0x06000235 RID: 565 RVA: 0x0000207A File Offset: 0x0000027A
17
public
static
RuntimeThread
Create
(
ParameterizedThreadStart
start
,
int
maxStackSize
)
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
{
28
this.thread.IsBackground
=
value
;
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'.
64
static
RuntimeThread
()
65
{
66
}
67
68
// Token: 0x04000196 RID: 406
69
internal
static
readonly
int
OptimalMaxSpinWaitsPerSpinIteration
;
70
71
// Token: 0x04000197 RID: 407
72
private
readonly
Thread
thread
;
73
}
74
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
Internal.Runtime.Augments.RuntimeThread.Start
void Start(object state)
Definition
RuntimeThread.cs:33
Internal.Runtime.Augments.RuntimeThread.RuntimeThread
RuntimeThread(Thread t)
Definition
RuntimeThread.cs:11
Internal.Runtime.Augments.RuntimeThread.IsBackground
bool IsBackground
Definition
RuntimeThread.cs:25
Internal.Runtime.Augments.RuntimeThread.SpinWait
static bool SpinWait(int iterations)
Definition
RuntimeThread.cs:51
Internal.Runtime.Augments.RuntimeThread.OptimalMaxSpinWaitsPerSpinIteration
static readonly int OptimalMaxSpinWaitsPerSpinIteration
Definition
RuntimeThread.cs:69
Internal.Runtime.Augments.RuntimeThread.Yield
static bool Yield()
Definition
RuntimeThread.cs:45
Internal.Runtime.Augments.RuntimeThread.Sleep
static void Sleep(int millisecondsTimeout)
Definition
RuntimeThread.cs:39
Internal.Runtime.Augments.RuntimeThread.thread
readonly Thread thread
Definition
RuntimeThread.cs:72
Internal.Runtime.Augments.RuntimeThread.Create
static RuntimeThread Create(ParameterizedThreadStart start, int maxStackSize)
Definition
RuntimeThread.cs:17
Internal.Runtime.Augments.RuntimeThread.GetCurrentProcessorId
static int GetCurrentProcessorId()
Definition
RuntimeThread.cs:57
Internal.Runtime.Augments.RuntimeThread.RuntimeThread
static RuntimeThread()
Definition
RuntimeThread.cs:64
Internal.Runtime.Augments.RuntimeThread
Definition
RuntimeThread.cs:9
System.Threading.ParameterizedThreadStart
Definition
ParameterizedThreadStart.cs:7
System.Threading.Thread.Start
void Start()
Definition
Thread.cs:58
System.Threading.Thread.Yield
static bool Yield()
Definition
Thread.cs:224
System.Threading.Thread.Sleep
static void Sleep(int millisecondsTimeout)
Definition
Thread.cs:207
System.Threading.Thread
Definition
Thread.cs:15
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
Internal.Runtime.Augments
Definition
AsyncStatus.cs:4
System.Threading
Definition
_ThreadPoolWaitCallback.cs:4
System.ExceptionArgument.value
@ value
System.ExceptionArgument.state
@ state
System.ExceptionArgument.start
@ start
System
Definition
__ComObject.cs:4
source
mscorlib
Internal
Runtime
Augments
RuntimeThread.cs
Generated by
1.10.0