Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/oneapi-src/oneTBB
Browse files Browse the repository at this point in the history
  • Loading branch information
JhaShweta1 committed Jul 19, 2023
2 parents 27726b7 + 37a89d4 commit 9e1e0e0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/tbb/test_task_group.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,10 @@ class SharedGroupBodyImpl : utils::NoCopy, utils::NoAfterlife {
utils::ConcurrencyTracker ct;
m_taskGroup->wait();
}
if ( utils::ConcurrencyTracker::PeakParallelism() == 1 )
WARN( "Warning: No parallel waiting detected in TestParallelWait" );
if ( utils::ConcurrencyTracker::PeakParallelism() == 1 ) {
const char* msg = "Warning: No parallel waiting detected in TestParallelWait";
WARN( msg );
}
m_barrier.wait();
}
else
Expand Down

0 comments on commit 9e1e0e0

Please sign in to comment.