diff --git a/Source/IO/Loop/LSLocalEvent.cpp b/Source/IO/Loop/LSLocalEvent.cpp index e407066c..9e5838ea 100644 --- a/Source/IO/Loop/LSLocalEvent.cpp +++ b/Source/IO/Loop/LSLocalEvent.cpp @@ -233,6 +233,13 @@ namespace Aurora::IO::Loop { return true; } + else if (!uDeltaMs) + { + if (this->TryTakeSpin()) + { + return true; + } + } } } diff --git a/Source/IO/Loop/LSLocalMutex.cpp b/Source/IO/Loop/LSLocalMutex.cpp index af3a3ea1..6e81aa1e 100644 --- a/Source/IO/Loop/LSLocalMutex.cpp +++ b/Source/IO/Loop/LSLocalMutex.cpp @@ -145,6 +145,13 @@ namespace Aurora::IO::Loop { return true; } + else if (!uDeltaMs) + { + if (this->TryTakeSpin()) + { + return true; + } + } } } diff --git a/Source/IO/Loop/LSLocalSemaphore.cpp b/Source/IO/Loop/LSLocalSemaphore.cpp index 3572dfe9..ada2f014 100644 --- a/Source/IO/Loop/LSLocalSemaphore.cpp +++ b/Source/IO/Loop/LSLocalSemaphore.cpp @@ -168,6 +168,13 @@ namespace Aurora::IO::Loop { return true; } + else if (!uDeltaMs) + { + if (this->TryTakeSpin()) + { + return true; + } + } } }