From a8387ae3321313f1e010b74863a63344e2e55c2d Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Mon, 20 May 2024 18:10:21 -0400 Subject: [PATCH] Make multithreading/task_17 more stable --- tests/multithreading/task_17.cc | 3 --- tests/multithreading/task_17.output | 3 --- 2 files changed, 6 deletions(-) diff --git a/tests/multithreading/task_17.cc b/tests/multithreading/task_17.cc index c23dd0b8c0..d9d24969a6 100644 --- a/tests/multithreading/task_17.cc +++ b/tests/multithreading/task_17.cc @@ -41,7 +41,6 @@ middle() { deallog << " Starting task in the middle" << std::endl; auto t = Threads::new_task([]() { bottom(); }); - deallog << " Waiting for sub-task in the middle" << std::endl; t.join(); deallog << " Ending task in the middle" << std::endl; } @@ -51,7 +50,6 @@ top() { deallog << " Starting task at the top" << std::endl; auto t = Threads::new_task([]() { middle(); }); - deallog << " Waiting for sub-task at the top" << std::endl; t.join(); deallog << " Ending task at the top" << std::endl; } @@ -66,7 +64,6 @@ main() deallog << "Starting task in main()" << std::endl; auto t = Threads::new_task([]() { top(); }); - deallog << "Waiting for task in main" << std::endl; t.join(); deallog << "Done in main" << std::endl; } diff --git a/tests/multithreading/task_17.output b/tests/multithreading/task_17.output index 2155c5bc5b..73941b7dd3 100644 --- a/tests/multithreading/task_17.output +++ b/tests/multithreading/task_17.output @@ -1,10 +1,7 @@ DEAL::Starting task in main() -DEAL::Waiting for task in main DEAL:: Starting task at the top -DEAL:: Waiting for sub-task at the top DEAL:: Starting task in the middle -DEAL:: Waiting for sub-task in the middle DEAL:: Starting task at the bottom DEAL:: ... ... ... DEAL:: Ending task at the bottom -- 2.39.5