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
| #pragma once
|
| #include <stdint.h>
|
| #if defined(__cplusplus)
| #include "os/Thread.h"
|
| typedef il2cpp::os::Thread::ThreadId UnityPalThreadId;
|
| #else
|
| typedef size_t UnityPalThreadId;
|
| #endif //__cplusplus
|
| #if defined(__cplusplus)
| extern "C"
| {
| #endif
|
| void UnityPalThreadInitialize();
| void UnityPalSleep(uint32_t milliseconds);
| UnityPalThreadId UnityPalGetCurrentThreadId();
|
| #if defined(__cplusplus)
| }
| #endif
|
|