mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +00:00
23 lines
431 B
C++
23 lines
431 B
C++
#pragma once
|
|
|
|
#include "IGpThreadEvent.h"
|
|
|
|
#include "GpWindows.h"
|
|
|
|
class GpThreadEvent_Win32 final : public IGpThreadEvent
|
|
{
|
|
public:
|
|
void Wait() override;
|
|
bool WaitTimed(uint32_t msec) override;
|
|
void Signal() override;
|
|
void Destroy() override;
|
|
|
|
static GpThreadEvent_Win32 *Create(bool autoReset, bool startSignaled);
|
|
|
|
private:
|
|
explicit GpThreadEvent_Win32(const HANDLE &handle);
|
|
~GpThreadEvent_Win32();
|
|
|
|
HANDLE m_event;
|
|
};
|