2021-10-03 12:47:16 +00:00
|
|
|
/***
|
|
|
|
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
|
|
|
|
File: WaitSingle.NT.hpp
|
|
|
|
Date: 2021-10-1
|
|
|
|
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
|
|
|
{
|
2022-04-12 21:26:15 +00:00
|
|
|
virtual bool WaitForAtleastOne(AuUInt32 timeout, const AuList<AuUInt> &handles, AuUInt &one) override;
|
|
|
|
virtual bool WaitForOne(AuUInt32 timeout, AuUInt handle) override;
|
2021-10-03 12:47:16 +00:00
|
|
|
virtual void OnPresleep() override;
|
|
|
|
virtual void OnFinishSleep() override;
|
|
|
|
virtual ELoopSource GetType() override;
|
|
|
|
};
|
|
|
|
}
|