From: wolf Date: Fri, 7 Mar 2003 21:09:24 +0000 (+0000) Subject: Work around one problem with xlC X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fea3a2c0cfd46804e9770ab6953bb99f678c77c1;p=dealii-svn.git Work around one problem with xlC git-svn-id: https://svn.dealii.org/trunk@7285 0785d39b-7218-0410-832d-ea1e28bc413d --- 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