EHS/include/ehs/system/Mutex_W32.h

30 lines
369 B
C
Raw Normal View History

2024-02-05 22:25:30 -08:00
#pragma once
#include "ehs/EHS.h"
#include "BaseMutex.h"
namespace ehs
{
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;
};
}