AuroraRuntime/Source/Loop/LSSemaphore.NT.hpp
2022-04-12 22:29:50 +01:00

25 lines
568 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);
~LSSemaphore();
bool AddOne() override;
bool ILSSemaphore::IsSignaled() override;
bool ILSSemaphore::WaitOn(AuUInt32 timeout) override;
ELoopSource ILSSemaphore::GetType() override;
};
}