Skip to content

Commit

Permalink
edit a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
LoreMoretti committed Feb 16, 2024
1 parent 891acf9 commit 0d9b315
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,8 @@ std::thread AdvanceableRunner<_Advanceable>::run(std::shared_ptr<Barrier> barrie
m_isRunning = true;
auto function = [&](std::shared_ptr<Barrier> barrier) -> bool {
constexpr auto logPrefix = "[AdvanceableRunner::run]";
// if the barrier is passed the run method, synchronization is performed

// synchronize the threads
if (!(barrier == nullptr))
{
log()->debug("{} - {} This thread is waiting for the other threads.",
Expand Down

0 comments on commit 0d9b315

Please sign in to comment.