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
FastParallel.cs
Go to the documentation of this file.
1using System;
5
6namespace ReLogic.Threading
7{
8 // Token: 0x02000B11 RID: 2833
9 public static class FastParallel
10 {
11 // Token: 0x06005311 RID: 21265 RVA: 0x00283E78 File Offset: 0x00282078
12 static FastParallel()
13 {
14 if (!true)
15 {
16 }
17 }
18
19 // Token: 0x170008F2 RID: 2290
20 // (get) Token: 0x06005312 RID: 21266 RVA: 0x00283E88 File Offset: 0x00282088
21 // (set) Token: 0x06005313 RID: 21267 RVA: 0x00283E9C File Offset: 0x0028209C
22 public static bool ForceTasksOnCallingThread
23 {
25 get
26 {
27 if (!true)
28 {
29 }
30 return true;
31 }
33 set
34 {
35 if (!true)
36 {
37 }
38 }
39 }
40
41 // Token: 0x06005314 RID: 21268 RVA: 0x00283EAC File Offset: 0x002820AC
42 public static void For(int fromInclusive, int toExclusive, ParallelForAction callback, [Optional] object context)
43 {
44 IntPtr method_code = callback.method_code;
45 IntPtr invoke_impl = callback.invoke_impl;
46 IntPtr method = callback.method;
47 }
48
49 // Token: 0x06005315 RID: 21269 RVA: 0x00283ED0 File Offset: 0x002820D0
50 private static void InvokeTask(object context)
51 {
52 if (context != null)
53 {
54 }
55 }
56
57 // Token: 0x04008AEC RID: 35564
59 private static bool <ForceTasksOnCallingThread>k__BackingField;
60
61 // Token: 0x02000B12 RID: 2834
62 private class RangeTask
63 {
64 // Token: 0x06005316 RID: 21270 RVA: 0x00283EE8 File Offset: 0x002820E8
73
74 // Token: 0x06005317 RID: 21271 RVA: 0x00283F20 File Offset: 0x00282120
75 public void Invoke()
76 {
78 object context = this._context;
80 object context2 = this._context;
81 IntPtr invoke_impl = action.invoke_impl;
82 IntPtr method_code = action.method_code;
83 IntPtr method = action.method;
84 bool flag = this._countdown.Signal();
85 }
86
87 // Token: 0x04008AED RID: 35565
89
90 // Token: 0x04008AEE RID: 35566
92
93 // Token: 0x04008AEF RID: 35567
95
96 // Token: 0x04008AF0 RID: 35568
97 private readonly object _context;
98
99 // Token: 0x04008AF1 RID: 35569
101 }
102 }
103}
class f__AnonymousType0<< Count > j__TPar
RangeTask(ParallelForAction action, int fromInclusive, int toExclusive, object context, CountdownEvent countdown)
readonly ParallelForAction _action
static void For(int fromInclusive, int toExclusive, ParallelForAction callback, [Optional] object context)
static bool< ForceTasksOnCallingThread > k__BackingField
static void InvokeTask(object context)
IntPtr method_code
Definition Delegate.cs:386
IntPtr invoke_impl
Definition Delegate.cs:371