123456789101112131415161718 |
- #include "os/c-api/il2cpp-config-platforms.h"
- #if !RUNTIME_TINY
- #include "Thread-c-api.h"
- #include "os/Thread.h"
- void UnityPalSleep(uint32_t milliseconds)
- {
- il2cpp::os::Thread::Sleep(milliseconds, false);
- }
- UnityPalThreadId UnityPalGetCurrentThreadId()
- {
- return il2cpp::os::Thread::GetCurrentThread()->Id();
- }
- #endif
|