20 lines
619 B
C++
20 lines
619 B
C++
/***
|
|
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::IO::Loop
|
|
{
|
|
struct WaitSingleGeneric : virtual WaitSingleBase
|
|
{
|
|
virtual bool WaitForAtleastOne(AuUInt32 timeout, const AuList<AuUInt> &handles, AuUInt &one, bool bNoAlert) override;
|
|
virtual bool WaitForOne(AuUInt32 timeout, AuUInt handle, bool bNoAlert) override;
|
|
virtual void OnPresleep() override;
|
|
virtual void OnFinishSleep() override;
|
|
virtual ELoopSource GetType() override;
|
|
};
|
|
} |