少年修仙传客户端基础资源
hch
2024-04-01 d01413b00ef631ac20347716b23818b0b811f65f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
#include <mono/utils/mono-threads.h>
 
#if defined(PLATFORM_UNITY) && defined(UNITY_USE_PLATFORM_STUBS)
 
#include "Thread-c-api.h"
 
void
mono_threads_suspend_init (void)
{
   g_assert(0 && "This function is not yet implemented for the Unity platform.");
}
 
gboolean
mono_threads_suspend_begin_async_suspend (MonoThreadInfo *info, gboolean interrupt_kernel)
{
   g_assert(0 && "This function is not yet implemented for the Unity platform.");
   return FALSE;
}
 
gboolean
mono_threads_suspend_check_suspend_result (MonoThreadInfo *info)
{
    g_assert(0 && "This function is not yet implemented for the Unity platform.");
    return FALSE;
}
 
void
mono_threads_suspend_abort_syscall (MonoThreadInfo *info)
{
    g_assert(0 && "This function is not yet implemented for the Unity platform.");
}
 
gboolean
mono_threads_suspend_needs_abort_syscall (void)
{
    g_assert(0 && "This function is not yet implemented for the Unity platform.");
    return FALSE;
}
 
gboolean
mono_threads_suspend_begin_async_resume (MonoThreadInfo *info)
{
    g_assert(0 && "This function is not yet implemented for the Unity platform.");
    return FALSE;
}
 
void
mono_threads_suspend_register (MonoThreadInfo *info)
{
    g_assert(0 && "This function is not yet implemented for the Unity platform.");
}
 
void
mono_threads_suspend_free (MonoThreadInfo *info)
{
    g_assert(0 && "This function is not yet implemented for the Unity platform.");
}
 
void
mono_threads_suspend_init_signals (void)
{
    g_assert(0 && "This function is not yet implemented for the Unity platform.");
}
 
gint
mono_threads_suspend_search_alternative_signal (void)
{
    g_assert(0 && "This function is not yet implemented for the Unity platform.");
    g_assert_not_reached ();
}
 
gint
mono_threads_suspend_get_suspend_signal (void)
{
    g_assert(0 && "This function is not yet implemented for the Unity platform.");
    return -1;
}
 
gint
mono_threads_suspend_get_restart_signal (void)
{
    g_assert(0 && "This function is not yet implemented for the Unity platform.");
    return -1;
}
 
gint
mono_threads_suspend_get_abort_signal (void)
{
    g_assert(0 && "This function is not yet implemented for the Unity platform.");
    return -1;
}
 
int
mono_threads_platform_create_thread (MonoThreadStart thread_fn, gpointer thread_data, gsize* const stack_size, MonoNativeThreadId *out_tid)
{
    g_assert(0 && "This function is not yet implemented for the Unity platform.");
    return-1;
}
 
 
MonoNativeThreadId
mono_native_thread_id_get (void)
{
    return (MonoNativeThreadId)UnityPalGetCurrentThreadId();
}
 
gboolean
mono_native_thread_id_equals (MonoNativeThreadId id1, MonoNativeThreadId id2)
{
    return id1 == id2;
}
 
gboolean
mono_native_thread_create (MonoNativeThreadId *tid, gpointer func, gpointer arg)
{
    g_assert(0 && "This function is not yet implemented for the Unity platform.");
    return FALSE;
}
 
gboolean
mono_native_thread_join (MonoNativeThreadId tid)
{
    g_assert(0 && "This function is not yet implemented for the Unity platform.");
    return FALSE;
}
 
void
mono_threads_platform_get_stack_bounds (guint8 **staddr, size_t *stsize)
{
    g_assert(0 && "This function is not yet implemented for the Unity platform.");
}
 
void
mono_threads_platform_init (void)
{
    g_assert(0 && "This function is not yet implemented for the Unity platform.");
}
 
gboolean
mono_threads_platform_in_critical_region (MonoNativeThreadId tid)
{
    g_assert(0 && "This function is not yet implemented for the Unity platform.");
}
 
gboolean
mono_threads_platform_yield (void)
{
    g_assert(0 && "This function is not yet implemented for the Unity platform.");
    return FALSE;
}
 
void
mono_threads_platform_exit (gsize exit_code)
{
    g_assert(0 && "This function is not yet implemented for the Unity platform.");
}
 
int
mono_threads_get_max_stack_size (void)
{
    g_assert(0 && "This function is not yet implemented for the Unity platform.");
    return 0;
}
 
void
mono_native_thread_set_name (MonoNativeThreadId tid, const char *name)
{
    g_assert(0 && "This function is not yet implemented for the Unity platform.");
}
 
#endif //PLATFORM_UNITY && UNITY_USE_PLATFORM_STUBS