From 37d5730547ce3878e84e3e2a22dad7216e08340e Mon Sep 17 00:00:00 2001 From: Trent Houliston Date: Fri, 15 Sep 2023 16:46:12 +1000 Subject: [PATCH] . --- src/threading/TaskScheduler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/threading/TaskScheduler.cpp b/src/threading/TaskScheduler.cpp index 60fa0bea6..3755963e2 100644 --- a/src/threading/TaskScheduler.cpp +++ b/src/threading/TaskScheduler.cpp @@ -256,7 +256,7 @@ namespace threading { // Wait for something to happen! // We don't have a condition on this lock as the check would be this doing this loop again to see if there // are any tasks we can execute (checking all the groups) so therefore we already did the entry predicate. - // Putting a condition on this would stop spurious wakeups of which the cost would be equal to running again + // Putting a condition on this would stop spurious wakeups of which the cost would be equal to the loop. condition.wait(lock); // NOSONAR }