terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
ThreadPool.cs
Go to the documentation of this file.
1using System;
9
10namespace System.Threading
11{
12 [global::Cpp2ILInjected.Token(Token = "0x2000207")]
13 public static class ThreadPool
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x600125B")]
16 [global::Cpp2ILInjected.Address(RVA = "0x1CA0224", Offset = "0x1CA0224", Length = "0x4")]
17 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Program", Member = "LaunchGame", MemberParameters = new object[]
18 {
19 "System.String[]",
20 typeof(bool)
21 }, ReturnType = typeof(void))]
22 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
23 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
25 {
26 throw null;
27 }
28
29 [global::Cpp2ILInjected.Token(Token = "0x600125C")]
30 [global::Cpp2ILInjected.Address(RVA = "0x1CA022C", Offset = "0x1CA022C", Length = "0x4")]
31 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.NclUtilities", Member = "IsThreadPoolLow", ReturnType = typeof(bool))]
32 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
33 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
35 {
36 throw null;
37 }
38
39 [global::Cpp2ILInjected.Token(Token = "0x600125D")]
40 [global::Cpp2ILInjected.Address(RVA = "0x1CA0234", Offset = "0x1CA0234", Length = "0x1C4")]
41 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ThreadPool), Member = "RegisterWaitForSingleObject", MemberParameters = new object[]
42 {
44 typeof(WaitOrTimerCallback),
45 typeof(object),
46 typeof(int),
47 typeof(bool)
48 }, ReturnType = typeof(RegisteredWaitHandle))]
49 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ThreadPool), Member = "RegisterWaitForSingleObject", MemberParameters = new object[]
50 {
52 typeof(WaitOrTimerCallback),
53 typeof(object),
54 typeof(global::System.TimeSpan),
55 typeof(bool)
56 }, ReturnType = typeof(RegisteredWaitHandle))]
57 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.TimeSpan), Member = ".ctor", MemberParameters = new object[]
59 {
60 typeof(int),
61 typeof(int),
62 typeof(int),
63 typeof(int),
64 typeof(int)
65 }, ReturnType = typeof(void))]
66 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RegisteredWaitHandle), Member = ".ctor", MemberParameters = new object[]
67 {
69 typeof(WaitOrTimerCallback),
70 typeof(object),
71 typeof(global::System.TimeSpan),
72 typeof(bool)
73 }, ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WaitCallback), Member = ".ctor", MemberParameters = new object[]
75 {
76 typeof(object),
77 typeof(global::System.IntPtr)
78 }, ReturnType = typeof(void))]
79 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadPool), Member = "QueueUserWorkItem", MemberParameters = new object[]
80 {
81 typeof(WaitCallback),
82 typeof(object)
83 }, ReturnType = typeof(bool))]
84 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadPool), Member = "UnsafeQueueUserWorkItem", MemberParameters = new object[]
85 {
86 typeof(WaitCallback),
87 typeof(object)
88 }, ReturnType = typeof(bool))]
89 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
90 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.NotSupportedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
91 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
96
97 [global::Cpp2ILInjected.Token(Token = "0x600125E")]
98 [global::Cpp2ILInjected.Address(RVA = "0x1CA04F4", Offset = "0x1CA04F4", Length = "0x80")]
99 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Diagnostics.Process", Member = "EnsureWatchingForExit", ReturnType = typeof(void))]
100 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
101 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadPool), Member = "RegisterWaitForSingleObject", MemberParameters = new object[]
102 {
104 typeof(WaitOrTimerCallback),
105 typeof(object),
106 typeof(uint),
107 typeof(bool),
109 typeof(bool)
110 }, ReturnType = typeof(RegisteredWaitHandle))]
111 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "GetResourceString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
112 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
113 {
114 typeof(string),
115 typeof(string)
116 }, ReturnType = typeof(void))]
117 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
118 [MethodImpl(8)]
120 {
121 throw null;
122 }
123
124 [global::Cpp2ILInjected.Token(Token = "0x600125F")]
125 [global::Cpp2ILInjected.Address(RVA = "0x1CA0574", Offset = "0x1CA0574", Length = "0xF0")]
126 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
127 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Runtime.Remoting.Lifetime.Lease), Member = "CheckNextSponsor", ReturnType = typeof(void))]
128 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
129 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.TimeSpan), Member = "get_TotalMilliseconds", ReturnType = typeof(double))]
130 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadPool), Member = "RegisterWaitForSingleObject", MemberParameters = new object[]
131 {
133 typeof(WaitOrTimerCallback),
134 typeof(object),
135 typeof(uint),
136 typeof(bool),
138 typeof(bool)
139 }, ReturnType = typeof(RegisteredWaitHandle))]
140 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "GetResourceString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
141 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
142 {
143 typeof(string),
144 typeof(string)
145 }, ReturnType = typeof(void))]
146 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
147 [MethodImpl(8)]
148 public static RegisteredWaitHandle RegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callBack, object state, global::System.TimeSpan timeout, bool executeOnlyOnce)
149 {
150 throw null;
151 }
152
153 [global::Cpp2ILInjected.Token(Token = "0x6001260")]
154 [global::Cpp2ILInjected.Address(RVA = "0x1CA04A4", Offset = "0x1CA04A4", Length = "0x28")]
155 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.WorldGen", Member = "RenameWorld", MemberParameters = new object[]
156 {
157 "Terraria.IO.WorldFileData",
158 typeof(string),
159 "System.Action`1<String>"
160 }, ReturnType = typeof(void))]
161 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SynchronizationContext), Member = "Post", MemberParameters = new object[]
162 {
163 typeof(SendOrPostCallback),
164 typeof(object)
165 }, ReturnType = typeof(void))]
166 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ThreadPool), Member = "RegisterWaitForSingleObject", MemberParameters = new object[]
167 {
169 typeof(WaitOrTimerCallback),
170 typeof(object),
171 typeof(uint),
172 typeof(bool),
174 typeof(bool)
175 }, ReturnType = typeof(RegisteredWaitHandle))]
176 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RegisteredWaitHandle), Member = "Wait", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
177 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Runtime.Remoting.Channels.CrossAppDomainSink), Member = "AsyncProcessMessage", MemberParameters = new object[]
178 {
179 typeof(global::System.Runtime.Remoting.Messaging.IMessage),
180 typeof(global::System.Runtime.Remoting.Messaging.IMessageSink)
181 }, ReturnType = typeof(global::System.Runtime.Remoting.Messaging.IMessageCtrl))]
182 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Runtime.Remoting.Messaging.StackBuilderSink), Member = "AsyncProcessMessage", MemberParameters = new object[]
183 {
184 typeof(global::System.Runtime.Remoting.Messaging.IMessage),
185 typeof(global::System.Runtime.Remoting.Messaging.IMessageSink)
186 }, ReturnType = typeof(global::System.Runtime.Remoting.Messaging.IMessageCtrl))]
187 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Runtime.CompilerServices.AsyncMethodBuilderCore), Member = "ThrowAsync", MemberParameters = new object[]
188 {
189 typeof(global::System.Exception),
191 }, ReturnType = typeof(void))]
192 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.FileWebRequest", Member = "BeginGetRequestStream", MemberParameters = new object[]
193 {
194 typeof(global::System.AsyncCallback),
195 typeof(object)
196 }, ReturnType = typeof(global::System.IAsyncResult))]
197 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.FileWebRequest", Member = "BeginGetResponse", MemberParameters = new object[]
198 {
199 typeof(global::System.AsyncCallback),
200 typeof(object)
201 }, ReturnType = typeof(global::System.IAsyncResult))]
202 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 9)]
203 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadPool), Member = "QueueUserWorkItemHelper", MemberParameters = new object[]
204 {
205 typeof(WaitCallback),
206 typeof(object),
208 typeof(bool),
209 typeof(bool)
210 }, ReturnType = typeof(bool))]
211 [MethodImpl(8)]
212 public static bool QueueUserWorkItem(WaitCallback callBack, object state)
213 {
214 throw null;
215 }
216
217 [global::Cpp2ILInjected.Token(Token = "0x6001261")]
218 [global::Cpp2ILInjected.Address(RVA = "0x1CA0774", Offset = "0x1CA0774", Length = "0x2C")]
219 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.LazyAsyncResult", Member = "Complete", MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = typeof(void))]
220 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
221 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadPool), Member = "QueueUserWorkItemHelper", MemberParameters = new object[]
222 {
223 typeof(WaitCallback),
224 typeof(object),
226 typeof(bool),
227 typeof(bool)
228 }, ReturnType = typeof(bool))]
229 [MethodImpl(8)]
230 public static bool QueueUserWorkItem(WaitCallback callBack)
231 {
232 throw null;
233 }
234
235 [global::Cpp2ILInjected.Token(Token = "0x6001262")]
236 [global::Cpp2ILInjected.Address(RVA = "0x1CA04CC", Offset = "0x1CA04CC", Length = "0x28")]
237 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ThreadPool), Member = "RegisterWaitForSingleObject", MemberParameters = new object[]
238 {
240 typeof(WaitOrTimerCallback),
241 typeof(object),
242 typeof(uint),
243 typeof(bool),
245 typeof(bool)
246 }, ReturnType = typeof(RegisteredWaitHandle))]
247 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Threading.Timer.Scheduler", Member = "FireTimer", MemberParameters = new object[] { typeof(Timer) }, ReturnType = typeof(void))]
248 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.UnwrapPromise<>), Member = "InvokeCoreAsync", MemberParameters = new object[] { typeof(global::System.Threading.Tasks.Task) }, ReturnType = typeof(void))]
249 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.ListenerAsyncResult", Member = "Complete", MemberParameters = new object[] { typeof(global::System.Exception) }, ReturnType = typeof(void))]
250 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.ListenerAsyncResult", Member = "Complete", MemberParameters = new object[]
251 {
252 "System.Net.HttpListenerContext",
253 typeof(bool)
254 }, ReturnType = typeof(void))]
255 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.Sockets.SocketAsyncResult", Member = "Complete", ReturnType = typeof(void))]
256 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
257 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadPool), Member = "QueueUserWorkItemHelper", MemberParameters = new object[]
258 {
259 typeof(WaitCallback),
260 typeof(object),
262 typeof(bool),
263 typeof(bool)
264 }, ReturnType = typeof(bool))]
265 [MethodImpl(8)]
266 public static bool UnsafeQueueUserWorkItem(WaitCallback callBack, object state)
267 {
268 throw null;
269 }
270
271 [global::Cpp2ILInjected.Token(Token = "0x6001263")]
272 [global::Cpp2ILInjected.Address(RVA = "0x15A12D8", Offset = "0x15A12D8", Length = "0x128")]
273 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
274 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
275 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs", Member = "InvokeContinuation", MemberParameters = new object[]
276 {
277 "System.Action`1<Object>",
278 typeof(object),
279 typeof(bool)
280 }, ReturnType = typeof(void))]
281 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
282 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WaitCallback), Member = ".ctor", MemberParameters = new object[]
283 {
284 typeof(object),
285 typeof(global::System.IntPtr)
286 }, ReturnType = typeof(void))]
287 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadPool), Member = "QueueUserWorkItemHelper", MemberParameters = new object[]
288 {
289 typeof(WaitCallback),
290 typeof(object),
292 typeof(bool),
293 typeof(bool)
294 }, ReturnType = typeof(bool))]
295 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
296 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
297 public static bool QueueUserWorkItem<TState>(global::System.Action<TState> callBack, TState state, bool preferLocal)
298 {
299 throw null;
300 }
301
302 [global::Cpp2ILInjected.Token(Token = "0x6001264")]
303 [global::Cpp2ILInjected.Address(RVA = "0x1CA0664", Offset = "0x1CA0664", Length = "0x110")]
304 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ThreadPool), Member = "QueueUserWorkItem", MemberParameters = new object[]
305 {
306 typeof(WaitCallback),
307 typeof(object)
308 }, ReturnType = typeof(bool))]
309 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ThreadPool), Member = "QueueUserWorkItem", MemberParameters = new object[] { typeof(WaitCallback) }, ReturnType = typeof(bool))]
310 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ThreadPool), Member = "UnsafeQueueUserWorkItem", MemberParameters = new object[]
311 {
312 typeof(WaitCallback),
313 typeof(object)
314 }, ReturnType = typeof(bool))]
315 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ThreadPool), Member = "QueueUserWorkItem", MemberTypeParameters = new object[] { "TState" }, MemberParameters = new object[]
316 {
317 "System.Action`1<TState>",
318 "TState",
319 typeof(bool)
320 }, ReturnType = typeof(bool))]
321 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
322 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadPool), Member = "EnsureVMInitialized", ReturnType = typeof(void))]
323 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(QueueUserWorkItemCallback), Member = ".ctor", MemberParameters = new object[]
324 {
325 typeof(WaitCallback),
326 typeof(object),
327 typeof(bool),
329 }, ReturnType = typeof(void))]
330 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadPoolWorkQueue), Member = "Enqueue", MemberParameters = new object[]
331 {
333 typeof(bool)
334 }, ReturnType = typeof(void))]
335 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
336 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
337 private static bool QueueUserWorkItemHelper(WaitCallback callBack, object state, ref StackCrawlMark stackMark, bool compressStack, bool forceGlobal = true)
338 {
339 throw null;
340 }
341
342 [global::Cpp2ILInjected.Token(Token = "0x6001265")]
343 [global::Cpp2ILInjected.Address(RVA = "0x1CA0834", Offset = "0x1CA0834", Length = "0x74")]
344 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SemaphoreSlim), Member = "Release", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
345 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SemaphoreSlim), Member = "QueueWaiterTask", MemberParameters = new object[] { "System.Threading.SemaphoreSlim.TaskNode" }, ReturnType = typeof(void))]
346 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.Task), Member = "FinishContinuations", ReturnType = typeof(void))]
347 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.AwaitTaskContinuation), Member = "Run", MemberParameters = new object[]
348 {
349 typeof(global::System.Threading.Tasks.Task),
350 typeof(bool)
351 }, ReturnType = typeof(void))]
352 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.AwaitTaskContinuation), Member = "UnsafeScheduleAction", MemberParameters = new object[] { typeof(global::System.Action) }, ReturnType = typeof(void))]
353 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.ThreadPoolTaskScheduler), Member = "QueueTask", MemberParameters = new object[] { typeof(global::System.Threading.Tasks.Task) }, ReturnType = typeof(void))]
354 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 7)]
355 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadPool), Member = "EnsureVMInitialized", ReturnType = typeof(void))]
356 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadPoolWorkQueue), Member = "Enqueue", MemberParameters = new object[]
357 {
359 typeof(bool)
360 }, ReturnType = typeof(void))]
361 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
363 {
364 throw null;
365 }
366
367 [global::Cpp2ILInjected.Token(Token = "0x6001266")]
368 [global::Cpp2ILInjected.Address(RVA = "0x1CA08A8", Offset = "0x1CA08A8", Length = "0x88")]
369 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.ThreadPoolTaskScheduler), Member = "TryExecuteTaskInline", MemberParameters = new object[]
370 {
371 typeof(global::System.Threading.Tasks.Task),
372 typeof(bool)
373 }, ReturnType = typeof(bool))]
374 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.ThreadPoolTaskScheduler), Member = "TryDequeue", MemberParameters = new object[] { typeof(global::System.Threading.Tasks.Task) }, ReturnType = typeof(bool))]
375 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
376 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadPoolWorkQueue), Member = "LocalFindAndPop", MemberParameters = new object[] { typeof(IThreadPoolWorkItem) }, ReturnType = typeof(bool))]
377 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
379 {
380 throw null;
381 }
382
383 [global::Cpp2ILInjected.Token(Token = "0x6001267")]
384 [global::Cpp2ILInjected.Address(RVA = "0x1C9E860", Offset = "0x1C9E860", Length = "0x4")]
385 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
386 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
387 [MethodImpl(4096)]
388 internal static extern bool RequestWorkerThread();
389
390 [global::Cpp2ILInjected.Token(Token = "0x6001268")]
391 [global::Cpp2ILInjected.Address(RVA = "0x1CA07A0", Offset = "0x1CA07A0", Length = "0x94")]
392 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ThreadPool), Member = "QueueUserWorkItemHelper", MemberParameters = new object[]
393 {
394 typeof(WaitCallback),
395 typeof(object),
397 typeof(bool),
398 typeof(bool)
399 }, ReturnType = typeof(bool))]
400 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ThreadPool), Member = "UnsafeQueueCustomWorkItem", MemberParameters = new object[]
401 {
403 typeof(bool)
404 }, ReturnType = typeof(void))]
405 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ThreadPool), Member = "NotifyWorkItemProgress", ReturnType = typeof(void))]
406 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.ThreadPoolTaskScheduler), Member = "NotifyWorkItemProgress", ReturnType = typeof(void))]
407 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
408 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
409 private static void EnsureVMInitialized()
410 {
411 throw null;
412 }
413
414 [global::Cpp2ILInjected.Token(Token = "0x6001269")]
415 [global::Cpp2ILInjected.Address(RVA = "0x1CA0228", Offset = "0x1CA0228", Length = "0x4")]
416 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
417 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
418 [MethodImpl(4096)]
419 private static extern bool SetMinThreadsNative(int workerThreads, int completionPortThreads);
420
421 [global::Cpp2ILInjected.Token(Token = "0x600126A")]
422 [global::Cpp2ILInjected.Address(RVA = "0x1CA0230", Offset = "0x1CA0230", Length = "0x4")]
423 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
424 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
425 [MethodImpl(4096)]
427
428 [global::Cpp2ILInjected.Token(Token = "0x600126B")]
429 [global::Cpp2ILInjected.Address(RVA = "0x1C9F9F8", Offset = "0x1C9F9F8", Length = "0x4")]
430 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
431 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
432 [MethodImpl(4096)]
433 internal static extern bool NotifyWorkItemComplete();
434
435 [global::Cpp2ILInjected.Token(Token = "0x600126C")]
436 [global::Cpp2ILInjected.Address(RVA = "0x1CA0934", Offset = "0x1CA0934", Length = "0x8")]
437 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
438 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
439 [MethodImpl(4096)]
440 internal static extern void ReportThreadStatus(bool isWorking);
441
442 [global::Cpp2ILInjected.Token(Token = "0x600126D")]
443 [global::Cpp2ILInjected.Address(RVA = "0x1CA093C", Offset = "0x1CA093C", Length = "0x10")]
444 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
445 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadPool), Member = "EnsureVMInitialized", ReturnType = typeof(void))]
446 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
447 internal static void NotifyWorkItemProgress()
448 {
449 throw null;
450 }
451
452 [global::Cpp2ILInjected.Token(Token = "0x600126E")]
453 [global::Cpp2ILInjected.Address(RVA = "0x1CA094C", Offset = "0x1CA094C", Length = "0x4")]
454 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
455 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
456 [MethodImpl(4096)]
457 internal static extern void NotifyWorkItemProgressNative();
458
459 [global::Cpp2ILInjected.Token(Token = "0x600126F")]
460 [global::Cpp2ILInjected.Address(RVA = "0x1C9EE34", Offset = "0x1C9EE34", Length = "0x4")]
461 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
462 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
463 [MethodImpl(4096)]
464 internal static extern void NotifyWorkItemQueued();
465
466 [global::Cpp2ILInjected.Token(Token = "0x6001270")]
467 [global::Cpp2ILInjected.Address(RVA = "0x1CA0930", Offset = "0x1CA0930", Length = "0x4")]
468 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
469 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
470 [MethodImpl(4096)]
471 private static extern void InitializeVMTp(ref bool enableWorkerTracking);
472
473 [global::Cpp2ILInjected.Token(Token = "0x170001C0")]
474 internal static bool IsThreadPoolThread
475 {
476 [global::Cpp2ILInjected.Token(Token = "0x6001271")]
477 [global::Cpp2ILInjected.Address(RVA = "0x1CA0950", Offset = "0x1CA0950", Length = "0x18")]
478 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
479 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Thread), Member = "get_CurrentThread", ReturnType = typeof(Thread))]
480 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Thread), Member = "get_IsThreadPoolThread", ReturnType = typeof(bool))]
481 get
482 {
483 throw null;
484 }
485 }
486
487 [global::System.Runtime.CompilerServices.CompilerGenerated]
488 [global::Cpp2ILInjected.Token(Token = "0x2000208")]
490 {
491 [global::Cpp2ILInjected.Token(Token = "0x6001272")]
492 [global::Cpp2ILInjected.Address(RVA = "0x15B2524", Offset = "0x15B2524", Length = "0x8")]
493 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
494 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
495 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
497 {
498 throw null;
499 }
500
501 [global::Cpp2ILInjected.Token(Token = "0x6001273")]
502 [global::Cpp2ILInjected.Address(RVA = "0x15B252C", Offset = "0x15B252C", Length = "0x90")]
503 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
504 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
505 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
506 internal void <QueueUserWorkItem>b__0(object x)
507 {
508 throw null;
509 }
510
511 [global::Cpp2ILInjected.Token(Token = "0x40009CD")]
512 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
513 public global::System.Action<TState> callBack;
514 }
515 }
516}
class f__AnonymousType0<< Count > j__TPar
static bool SetMinThreadsNative(int workerThreads, int completionPortThreads)
static void GetAvailableThreadsNative(out int workerThreads, out int completionPortThreads)
static void NotifyWorkItemProgress()
static bool QueueUserWorkItem(WaitCallback callBack)
static bool SetMinThreads(int workerThreads, int completionPortThreads)
Definition ThreadPool.cs:24
static void ReportThreadStatus(bool isWorking)
static RegisteredWaitHandle RegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callBack, object state, uint millisecondsTimeOutInterval, bool executeOnlyOnce, ref StackCrawlMark stackMark, bool compressStack)
Definition ThreadPool.cs:92
static void InitializeVMTp(ref bool enableWorkerTracking)
static void NotifyWorkItemQueued()
static void NotifyWorkItemProgressNative()
static void GetAvailableThreads(out int workerThreads, out int completionPortThreads)
Definition ThreadPool.cs:34
static void UnsafeQueueCustomWorkItem(IThreadPoolWorkItem workItem, bool forceGlobal)
static RegisteredWaitHandle RegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callBack, object state, int millisecondsTimeOutInterval, bool executeOnlyOnce)
static bool RequestWorkerThread()
static void EnsureVMInitialized()
static bool QueueUserWorkItem(WaitCallback callBack, object state)
static bool QueueUserWorkItemHelper(WaitCallback callBack, object state, ref StackCrawlMark stackMark, bool compressStack, bool forceGlobal=true)
static RegisteredWaitHandle RegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callBack, object state, global::System.TimeSpan timeout, bool executeOnlyOnce)
static bool NotifyWorkItemComplete()
static bool UnsafeQueueUserWorkItem(WaitCallback callBack, object state)
static bool TryPopCustomWorkItem(IThreadPoolWorkItem workItem)