diff --git a/Include/Aurora/Threading/Primitives/ConditionVariable.hpp b/Include/Aurora/Threading/Primitives/ConditionVariable.hpp index 275b1e52..1c8b7277 100644 --- a/Include/Aurora/Threading/Primitives/ConditionVariable.hpp +++ b/Include/Aurora/Threading/Primitives/ConditionVariable.hpp @@ -19,7 +19,8 @@ namespace Aurora::Threading::Primitives struct IConditionVariable { virtual AuSPtr 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; }; diff --git a/Source/Threading/Primitives/AuConditionVariable.NT.hpp b/Source/Threading/Primitives/AuConditionVariable.NT.hpp index 4a141b9b..02762556 100644 --- a/Source/Threading/Primitives/AuConditionVariable.NT.hpp +++ b/Source/Threading/Primitives/AuConditionVariable.NT.hpp @@ -19,7 +19,7 @@ namespace Aurora::Threading::Primitives auline AuSPtr GetMutex() override; auline bool WaitForSignal(AuUInt32 timeout) override; /*auline*/bool WaitForSignalNsEx(const std::shared_ptr &pMutex, AuUInt64 timeout); - /*auline*/bool WaitForSignalNS(AuUInt64 qwTimeout); + /*auline*/bool WaitForSignalNS(AuUInt64 qwTimeout) override; auline void Signal() override; auline void Broadcast() override;