Skip to content
Snippets Groups Projects
Commit b2ed7a4e authored by Florian Schmaus's avatar Florian Schmaus
Browse files

[LawsDispatcher] Improve code comment

parent 376b61f4
No related branches found
No related tags found
No related merge requests found
Pipeline #60634 passed
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment