From 7bfd1402f2be278b8bb99597bcdda31f68a5fb18 Mon Sep 17 00:00:00 2001 From: Bruno Turcksin Date: Mon, 28 Oct 2013 14:13:09 +0000 Subject: [PATCH] Use TaskGroup instead of ThreadGroup in step-14. git-svn-id: https://svn.dealii.org/trunk@31465 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-14/step-14.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deal.II/examples/step-14/step-14.cc b/deal.II/examples/step-14/step-14.cc index 16ab472c9e..ee642a5564 100644 --- a/deal.II/examples/step-14/step-14.cc +++ b/deal.II/examples/step-14/step-14.cc @@ -2409,16 +2409,16 @@ namespace Step14 // parts of all the cells, and once they are all started wait until they // have all finished: const unsigned int n_threads = multithread_info.n_threads(); - Threads::ThreadGroup<> threads; + Threads::TaskGroup<> tasks; for (unsigned int i=0; i::estimate_some, + tasks += Threads::new_task<> (&WeightedResidual::estimate_some, *this, primal_solution, dual_weights, n_threads, i, error_indicators, face_integrals); - threads.join_all(); + tasks.join_all(); // Once the error contributions are computed, sum them up. For this, // note that the cell terms are already set, and that only the edge -- 2.39.5