EventImpl.h 392 B

1234567891011121314151617181920212223242526
  1. #pragma once
  2. #if IL2CPP_THREADS_PTHREAD
  3. #include "os/ErrorCodes.h"
  4. #include "os/WaitStatus.h"
  5. #include "PosixWaitObject.h"
  6. #include <pthread.h>
  7. namespace il2cpp
  8. {
  9. namespace os
  10. {
  11. class EventImpl : public posix::PosixWaitObject
  12. {
  13. public:
  14. EventImpl(bool manualReset = false, bool signaled = false);
  15. ErrorCode Set();
  16. ErrorCode Reset();
  17. };
  18. }
  19. }
  20. #endif