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 360B

12345678910111213141516171819202122
  1. #include "il2cpp-config.h"
  2. #if IL2CPP_TARGET_WINDOWS
  3. #include "WindowsHeaders.h"
  4. #include "os/Thread.h"
  5. #include <processthreadsapi.h>
  6. namespace il2cpp
  7. {
  8. namespace os
  9. {
  10. bool Thread::GetCurrentThreadStackBounds(void** low, void** high)
  11. {
  12. GetCurrentThreadStackLimits((PULONG_PTR)low, (PULONG_PTR)high);
  13. return true;
  14. }
  15. }
  16. }
  17. #endif