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
ThreadPool.cs
Go to the documentation of this file.
1using System;
5
6namespace System.Threading
7{
8 // Token: 0x02000207 RID: 519
9 public static class ThreadPool
10 {
11 // Token: 0x0600125B RID: 4699 RVA: 0x0000207A File Offset: 0x0000027A
13 {
14 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
15 }
16
17 // Token: 0x0600125C RID: 4700 RVA: 0x00026F0C File Offset: 0x0002510C
18 public static void GetAvailableThreads([Out] int workerThreads, [Out] int completionPortThreads)
19 {
20 }
21
22 // Token: 0x0600125D RID: 4701 RVA: 0x00026F1C File Offset: 0x0002511C
30
31 // Token: 0x0600125E RID: 4702 RVA: 0x00026F34 File Offset: 0x00025134
33 {
34 RegisteredWaitHandle registeredWaitHandle;
35 return registeredWaitHandle;
36 }
37
38 // Token: 0x0600125F RID: 4703 RVA: 0x00026F50 File Offset: 0x00025150
40 {
41 RegisteredWaitHandle registeredWaitHandle;
42 return registeredWaitHandle;
43 }
44
45 // Token: 0x06001260 RID: 4704 RVA: 0x00026F70 File Offset: 0x00025170
46 public static bool QueueUserWorkItem(WaitCallback callBack, object state)
47 {
48 bool flag;
49 return flag;
50 }
51
52 // Token: 0x06001261 RID: 4705 RVA: 0x00026F80 File Offset: 0x00025180
54 {
55 bool flag;
56 return flag;
57 }
58
59 // Token: 0x06001262 RID: 4706 RVA: 0x00026F90 File Offset: 0x00025190
61 {
62 bool flag;
63 return flag;
64 }
65
66 // Token: 0x06001263 RID: 4707 RVA: 0x00026FA0 File Offset: 0x000251A0
68 {
69 bool flag;
70 return flag;
71 }
72
73 // Token: 0x06001264 RID: 4708 RVA: 0x00026FB0 File Offset: 0x000251B0
75 {
77 return true;
78 }
79
80 // Token: 0x06001265 RID: 4709 RVA: 0x00026FC4 File Offset: 0x000251C4
82 {
84 if (!true)
85 {
86 }
87 }
88
89 // Token: 0x06001266 RID: 4710 RVA: 0x00026FDC File Offset: 0x000251DC
91 {
92 if (!true)
93 {
94 }
95 if (!true)
96 {
97 }
98 bool flag;
99 return flag;
100 }
101
102 // Token: 0x06001267 RID: 4711 RVA: 0x0000207A File Offset: 0x0000027A
103 internal static bool RequestWorkerThread()
104 {
105 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
106 }
107
108 // Token: 0x06001268 RID: 4712 RVA: 0x00026FF4 File Offset: 0x000251F4
109 private static void EnsureVMInitialized()
110 {
111 int num = 1;
112 if (num == 0)
113 {
114 }
115 if (num == 0)
116 {
117 }
118 }
119
120 // Token: 0x06001269 RID: 4713 RVA: 0x0000207A File Offset: 0x0000027A
122 {
123 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
124 }
125
126 // Token: 0x0600126A RID: 4714 RVA: 0x0002700C File Offset: 0x0002520C
127 private static void GetAvailableThreadsNative([Out] int workerThreads, [Out] int completionPortThreads)
128 {
129 }
130
131 // Token: 0x0600126B RID: 4715 RVA: 0x0000207A File Offset: 0x0000027A
132 internal static bool NotifyWorkItemComplete()
133 {
134 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
135 }
136
137 // Token: 0x0600126C RID: 4716 RVA: 0x0002701C File Offset: 0x0002521C
138 internal static void ReportThreadStatus(bool isWorking)
139 {
140 }
141
142 // Token: 0x0600126D RID: 4717 RVA: 0x0002702C File Offset: 0x0002522C
143 internal static void NotifyWorkItemProgress()
144 {
146 }
147
148 // Token: 0x0600126E RID: 4718 RVA: 0x00027040 File Offset: 0x00025240
149 internal static void NotifyWorkItemProgressNative()
150 {
151 }
152
153 // Token: 0x0600126F RID: 4719 RVA: 0x00027050 File Offset: 0x00025250
154 internal static void NotifyWorkItemQueued()
155 {
156 }
157
158 // Token: 0x06001270 RID: 4720 RVA: 0x00027060 File Offset: 0x00025260
159 private static void InitializeVMTp(bool enableWorkerTracking)
160 {
161 }
162
163 // Token: 0x170001C0 RID: 448
164 // (get) Token: 0x06001271 RID: 4721 RVA: 0x00027070 File Offset: 0x00025270
165 internal static bool IsThreadPoolThread
166 {
167 get
168 {
170 }
171 }
172
173 // Token: 0x02000208 RID: 520
176 {
177 // Token: 0x06001272 RID: 4722 RVA: 0x0002708C File Offset: 0x0002528C
179 {
180 }
181
182 // Token: 0x06001273 RID: 4723 RVA: 0x000270A0 File Offset: 0x000252A0
183 internal void <QueueUserWorkItem>b__0(object x)
184 {
185 Action action = this.callBack;
186 if (x != null && x == null)
187 {
188 throw new InvalidCastException();
189 }
190 }
191
192 // Token: 0x040009CD RID: 2509
194 }
195 }
196}
class f__AnonymousType0<< Count > j__TPar
static bool SetMinThreadsNative(int workerThreads, int completionPortThreads)
static bool QueueUserWorkItem< TState >(Action< TState > callBack, TState state, bool preferLocal)
Definition ThreadPool.cs:67
static void NotifyWorkItemProgress()
static bool QueueUserWorkItem(WaitCallback callBack)
Definition ThreadPool.cs:53
static void GetAvailableThreadsNative([Out] int workerThreads, [Out] int completionPortThreads)
static bool SetMinThreads(int workerThreads, int completionPortThreads)
Definition ThreadPool.cs:12
static void ReportThreadStatus(bool isWorking)
static void InitializeVMTp(bool enableWorkerTracking)
static void NotifyWorkItemQueued()
static void GetAvailableThreads([Out] int workerThreads, [Out] int completionPortThreads)
Definition ThreadPool.cs:18
static bool QueueUserWorkItemHelper(WaitCallback callBack, object state, StackCrawlMark stackMark, bool compressStack, bool forceGlobal=true)
Definition ThreadPool.cs:74
static void NotifyWorkItemProgressNative()
static void UnsafeQueueCustomWorkItem(IThreadPoolWorkItem workItem, bool forceGlobal)
Definition ThreadPool.cs:81
static RegisteredWaitHandle RegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callBack, object state, int millisecondsTimeOutInterval, bool executeOnlyOnce)
Definition ThreadPool.cs:32
static bool RequestWorkerThread()
static void EnsureVMInitialized()
static bool QueueUserWorkItem(WaitCallback callBack, object state)
Definition ThreadPool.cs:46
static RegisteredWaitHandle RegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callBack, object state, TimeSpan timeout, bool executeOnlyOnce)
Definition ThreadPool.cs:39
static bool NotifyWorkItemComplete()
static bool UnsafeQueueUserWorkItem(WaitCallback callBack, object state)
Definition ThreadPool.cs:60
static bool TryPopCustomWorkItem(IThreadPoolWorkItem workItem)
Definition ThreadPool.cs:90
static RegisteredWaitHandle RegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callBack, object state, uint millisecondsTimeOutInterval, bool executeOnlyOnce, StackCrawlMark stackMark, bool compressStack)
Definition ThreadPool.cs:23
static Thread CurrentThread
Definition Thread.cs:381