AuroraRuntime/Source/Loop/WaitSingleBase.hpp

21 lines
467 B
C++

/***
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: WaitSingle.Generic.hpp
Date: 2021-10-2
Author: Reece
***/
#pragma once
#include "ILoopSourceEx.hpp"
namespace Aurora::Loop
{
struct WaitSingleBase : public ILoopSourceEx
{
bool IsSignaled() override;
virtual bool WaitForAtleastOne(const AuList<AuUInt> &handles, AuUInt &one) = 0;
virtual bool WaitForOne(AuUInt handle) = 0;
};
}