AuroraRuntime/Source/Loop/LSMutex.NT.hpp

24 lines
505 B
C++
Raw Normal View History

/***
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: LSMutex.NT.hpp
Date: 2021-10-1
Author: Reece
***/
#pragma once
#include "LSHandle.hpp"
namespace Aurora::Loop
{
class Mutex : public ILSMutex, public LSHandle
{
public:
Mutex(HANDLE handle) : LSHandle(reinterpret_cast<AuUInt>(handle))
{}
bool Unlock() override;
bool ILSMutex::IsSignaled() override;
ELoopSource ILSMutex::GetType() override;
};
}