AuroraRuntime/Source/IO/Loop/WaitSingle.Unix.hpp

20 lines
635 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::IO::Loop
{
struct WaitSingleGeneric : virtual WaitSingleBase
{
virtual bool WaitForAtleastOne(AuUInt32 timeout, const AuList<AuUInt> &handles _OPT_WRITE_ARRAY, AuUInt &read _OPT_WRITE_REF) override;
virtual bool WaitForOne(AuUInt32 timeout, AuUInt handle _OPT_WRITE) override;
virtual void OnPresleep() override;
virtual void OnFinishSleep() override;
virtual ELoopSource GetType() override;
};
}