EHS/include/system/Mutex_W32.h

30 lines
365 B
C
Raw Normal View History

2023-12-17 03:29:08 -08:00
#pragma once
2023-12-17 15:00:08 -08:00
#include "EHS.h"
2023-12-17 03:29:08 -08:00
#include "BaseMutex.h"
2023-12-17 15:56:13 -08:00
namespace ehs
2023-12-17 03:29:08 -08:00
{
class Mutex : public BaseMutex
{
private:
HANDLE hdl;
public:
~Mutex() override;
Mutex();
Mutex(const Mutex& mutex);
Mutex& operator=(const Mutex& mutex);
void Initialize() override;
void UnInitialize() override;
void Lock() override;
void Unlock() override;
};
}