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
ThreadPoolTaskScheduler.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x02000251 RID: 593
8 internal sealed class ThreadPoolTaskScheduler : TaskScheduler
9 {
10 // Token: 0x0600144E RID: 5198 RVA: 0x0002AA6C File Offset: 0x00028C6C
12 {
13 if (!true)
14 {
15 }
16 base..ctor();
17 }
18
19 // Token: 0x0600144F RID: 5199 RVA: 0x0002AA84 File Offset: 0x00028C84
20 protected internal override void QueueTask(Task task)
21 {
22 bool enabled = TaskTrace.Enabled;
23 if (!true)
24 {
25 }
26 if (!true)
27 {
28 }
29 Task parent = task.m_parent;
30 int id = base.Id;
31 int id2 = task.Id;
32 if (parent != null)
33 {
34 int id3 = parent.Id;
35 }
39 int num;
41 }
42
43 // Token: 0x06001450 RID: 5200 RVA: 0x0002AAF4 File Offset: 0x00028CF4
45 {
47 long num = 0L;
48 bool flag2 = task.ExecuteEntry(num != 0L);
49 if (false)
50 {
51 throw new OutOfMemoryException();
52 }
53 throw new OutOfMemoryException();
54 }
55
56 // Token: 0x06001451 RID: 5201 RVA: 0x0002AB2C File Offset: 0x00028D2C
57 protected internal override bool TryDequeue(Task task)
58 {
60 }
61
62 // Token: 0x06001452 RID: 5202 RVA: 0x0002AB40 File Offset: 0x00028D40
63 internal override void NotifyWorkItemProgress()
64 {
66 }
67
68 // Token: 0x170001FD RID: 509
69 // (get) Token: 0x06001453 RID: 5203 RVA: 0x0002AB54 File Offset: 0x00028D54
70 internal override bool RequiresAtomicStartTransition
71 {
72 get
73 {
74 }
75 }
76
77 // Token: 0x06001454 RID: 5204 RVA: 0x0002AB64 File Offset: 0x00028D64
78 // Note: this type is marked as 'beforefieldinit'.
80 {
81 if (!true)
82 {
83 }
84 }
85
86 // Token: 0x04000AC5 RID: 2757
88
89 // Token: 0x02000252 RID: 594
91 [Serializable]
92 private sealed class <>c
93 {
94 // Token: 0x06001455 RID: 5205 RVA: 0x0002AB74 File Offset: 0x00028D74
95 // Note: this type is marked as 'beforefieldinit'.
96 static <>c()
97 {
98 }
99
100 // Token: 0x06001456 RID: 5206 RVA: 0x0002AB84 File Offset: 0x00028D84
101 public <>c()
102 {
103 }
104
105 // Token: 0x06001457 RID: 5207 RVA: 0x0002AB98 File Offset: 0x00028D98
106 internal void <.cctor>b__10_0(object s)
107 {
108 if (s != null)
109 {
110 }
111 }
112
113 // Token: 0x04000AC6 RID: 2758
114 public static readonly ThreadPoolTaskScheduler.<>c <>9;
115 }
116 }
117}
class f__AnonymousType0<< Count > j__TPar
override bool TryExecuteTaskInline(Task task, bool taskWasPreviouslyQueued)
static readonly ParameterizedThreadStart s_longRunningThreadWork
static void UnsafeQueueCustomWorkItem(IThreadPoolWorkItem workItem, bool forceGlobal)
Definition ThreadPool.cs:81
static void EnsureVMInitialized()
static bool TryPopCustomWorkItem(IThreadPoolWorkItem workItem)
Definition ThreadPool.cs:90