AuroraRuntime/Source/Loop/LSSemaphore.NT.hpp

24 lines
537 B
C++

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