EHS/include/ehs/system/Mutex_PT.h
Karutoh bcd71cf2b5
All checks were successful
Build & Release / Windows-AMD64-Build (push) Successful in 1m8s
Build & Release / Linux-AMD64-Build (push) Successful in 1m30s
Build & Release / Linux-AARCH64-Build (push) Successful in 3m21s
Adjusted workflow.
2024-02-05 22:25:30 -08:00

32 lines
463 B
C++

#pragma once
#include "ehs/EHS.h"
#include "BaseMutex.h"
#include <pthread.h>
namespace ehs
{
class Mutex : public BaseMutex
{
private:
pthread_mutex_t 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;
};
}