No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Thread.cpp 303B

1234567891011121314
  1. #include "os/c-api/il2cpp-config-platforms.h"
  2. #include "Thread-c-api.h"
  3. #include "os/Thread.h"
  4. void UnityPalSleep(uint32_t milliseconds)
  5. {
  6. il2cpp::os::Thread::Sleep(milliseconds, false);
  7. }
  8. UnityPalThreadId UnityPalGetCurrentThreadId()
  9. {
  10. return il2cpp::os::Thread::GetCurrentThread()->Id();
  11. }