[+] IConditionVariable::WaitForSignalNS

This commit is contained in:
Reece Wilson 2023-07-25 15:59:04 +01:00
parent 76262c2e3e
commit b411c710d1
2 changed files with 3 additions and 2 deletions

View File

@ -19,7 +19,8 @@ namespace Aurora::Threading::Primitives
struct IConditionVariable
{
virtual AuSPtr<IConditionMutex> GetMutex() = 0;
virtual bool WaitForSignal(AuUInt32 timeout = 0) = 0;
virtual bool WaitForSignal(AuUInt32 uTimeoutMS = 0) = 0;
virtual bool WaitForSignalNS(AuUInt64 uTimeoutNS = 0) = 0;
virtual void Broadcast() = 0;
virtual void Signal() = 0;
};

View File

@ -19,7 +19,7 @@ namespace Aurora::Threading::Primitives
auline AuSPtr<IConditionMutex> GetMutex() override;
auline bool WaitForSignal(AuUInt32 timeout) override;
/*auline*/bool WaitForSignalNsEx(const std::shared_ptr<Win32ConditionMutex> &pMutex, AuUInt64 timeout);
/*auline*/bool WaitForSignalNS(AuUInt64 qwTimeout);
/*auline*/bool WaitForSignalNS(AuUInt64 qwTimeout) override;
auline void Signal() override;
auline void Broadcast() override;