From fea3a2c0cfd46804e9770ab6953bb99f678c77c1 Mon Sep 17 00:00:00 2001 From: wolf Date: Fri, 7 Mar 2003 21:09:24 +0000 Subject: [PATCH] Work around one problem with xlC git-svn-id: https://svn.dealii.org/trunk@7285 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/numerics/data_out_rotation.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/deal.II/deal.II/source/numerics/data_out_rotation.cc b/deal.II/deal.II/source/numerics/data_out_rotation.cc index c91ef5c30d..5a1a06e98c 100644 --- a/deal.II/deal.II/source/numerics/data_out_rotation.cc +++ b/deal.II/deal.II/source/numerics/data_out_rotation.cc @@ -385,10 +385,12 @@ void DataOutRotation::build_patches (const unsigned int n_patches_per_circl if (DEAL_II_USE_MT) { - Threads::ThreadGroup<> threads; + void (DataOutRotation::*p) (Data) + = &DataOutRotation::build_some_patches; + + Threads::ThreadGroup<> threads; for (unsigned int l=0;l::build_some_patches) - (thread_data[l]); + threads += Threads::spawn (*this, p) (thread_data[l]); threads.join_all(); } else -- 2.39.5