From: Wolfgang Bangerth Date: Fri, 7 Mar 2003 21:09:24 +0000 (+0000) Subject: Work around one problem with xlC X-Git-Tag: v8.0.0~16800 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=550dca2b06ee7d9736e978bbb152e128c97bd79e;p=dealii.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