ThreadPoolMs.h 708 B

12345678910111213141516171819202122
  1. #pragma once
  2. #include "il2cpp-config.h"
  3. #include "il2cpp-object-internals.h"
  4. #include "il2cpp-class-internals.h"
  5. namespace il2cpp
  6. {
  7. namespace vm
  8. {
  9. class LIBIL2CPP_CODEGEN_API ThreadPoolMs
  10. {
  11. public:
  12. static Il2CppAsyncResult* DelegateBeginInvoke(Il2CppDelegate* delegate, void** params, Il2CppDelegate* asyncCallback, Il2CppObject* state);
  13. static Il2CppObject* DelegateEndInvoke(Il2CppAsyncResult* asyncResult, void **out_args);
  14. static Il2CppObject* MessageInvoke(Il2CppObject *target, Il2CppMethodMessage *msg, Il2CppObject **exc, Il2CppArray **out_args);
  15. static void Suspend();
  16. static void Resume();
  17. };
  18. } /* namespace vm */
  19. } /* namespace il2cpp */