2021-10-03 12:47:16 +00:00
|
|
|
/***
|
|
|
|
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
|
|
|
|
|
2022-06-11 23:52:46 +00:00
|
|
|
namespace Aurora::IO::Loop
|
2021-10-03 12:47:16 +00:00
|
|
|
{
|
2022-05-04 15:34:02 +00:00
|
|
|
struct WaitSingleGeneric : virtual WaitSingleBase
|
2021-10-03 12:47:16 +00:00
|
|
|
{
|
|
|
|
virtual bool WaitForAtleastOne(const AuList<AuUInt> &handles, AuUInt &one) override;
|
|
|
|
virtual void OnPresleep() override;
|
|
|
|
virtual void OnFinishSleep() override;
|
|
|
|
virtual ELoopSource GetType() override;
|
|
|
|
};
|
|
|
|
}
|