From b2ed7a4efe18d309769767c37a03f8630d40d62c Mon Sep 17 00:00:00 2001 From: Florian Schmaus <flow@cs.fau.de> Date: Tue, 13 Apr 2021 10:30:41 +0200 Subject: [PATCH] [LawsDispatcher] Improve code comment --- emper/strategies/laws/LawsDispatcher.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emper/strategies/laws/LawsDispatcher.cpp b/emper/strategies/laws/LawsDispatcher.cpp index 358494c9..0edaa153 100644 --- a/emper/strategies/laws/LawsDispatcher.cpp +++ b/emper/strategies/laws/LawsDispatcher.cpp @@ -28,8 +28,8 @@ void LawsDispatcher::dispatchLoop() { continue; } - // The isRunnable() method uses an exchange on an atomic - // boolean initialize to true in order to check if this fiber + // The isRunnable() method performes an atomic swap on a boolean, + // which was initialized to true, in order to check if this fiber // is runnable. if (isRunnable(fiber)) { if constexpr (emper::STATS) { -- GitLab