AuroraRuntime/Source/IO/Loop/LSMutex.NT.hpp

24 lines
519 B
C++

/***
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::IO::Loop
{
struct LSMutex : ILSMutex, virtual LSHandle
{
LSMutex(HANDLE handle);
~LSMutex();
bool Unlock() override;
bool ILSMutex::IsSignaled() override;
bool ILSMutex::WaitOn(AuUInt32 timeout) override;
ELoopSource ILSMutex::GetType() override;
};
}