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
|
|
|
|
|
|
|
|
namespace Aurora::Loop
|
|
|
|
{
|
2022-04-05 01:19:37 +00:00
|
|
|
struct WaitSingleGeneric : WaitSingleBase
|
2021-10-03 12:47:16 +00:00
|
|
|
{
|
|
|
|
virtual bool WaitForAtleastOne(const AuList<AuUInt> &handles, AuUInt &one) override;
|
2022-03-30 17:56:56 +00:00
|
|
|
virtual bool WaitForOne(AuUInt handle) override;
|
2021-10-03 12:47:16 +00:00
|
|
|
virtual void OnPresleep() override;
|
|
|
|
virtual void OnFinishSleep() override;
|
|
|
|
virtual ELoopSource GetType() override;
|
|
|
|
};
|
|
|
|
}
|