AuroraRuntime/Source/Loop/WaitSingle.Unix.hpp

20 lines
583 B
C++

/***
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: WaitSingle.Unix.hpp
Date: 2022-3-22
Author: Reece
***/
#pragma once
namespace Aurora::Loop
{
struct WaitSingleGeneric : WaitSingleBase
{
virtual bool WaitForAtleastOne(const AuList<AuUInt> &handles _OPT_WRITE_ARRAY, AuUInt &read _OPT_WRITE) override;
virtual bool WaitForOne(AuUInt handle _OPT_WRITE) override;
virtual void OnPresleep() override;
virtual void OnFinishSleep() override;
virtual ELoopSource GetType() override;
};
}