]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Revert classes without copy constructor 9249/head
authorDaniel Arndt <arndtd@ornl.gov>
Fri, 10 Jan 2020 22:13:12 +0000 (17:13 -0500)
committerDaniel Arndt <arndtd@ornl.gov>
Tue, 14 Jan 2020 06:32:42 +0000 (23:32 -0700)
include/deal.II/base/flow_function.h
include/deal.II/base/function_cspline.h
include/deal.II/base/incremental_function.h
include/deal.II/base/timer.h
include/deal.II/fe/fe_system.h
include/deal.II/fe/mapping_q_eulerian.h
include/deal.II/lac/precondition.h
include/deal.II/lac/scalapack.h
include/deal.II/lac/vector_memory.h
include/deal.II/lac/vector_memory.templates.h

index 9696784f330e1b04427857dfc4708ffd720f554b..8486837f4d690847af5d1e36d981b45003ce5e06 100644 (file)
@@ -128,7 +128,7 @@ namespace Functions
     /**
      * A mutex that guards the following scratch arrays.
      */
-    mutable std::mutex mutex;
+    mutable Threads::Mutex mutex;
 
     /**
      * Auxiliary values for the usual Function interface.
index febff9b51bc8efe5da6e62541b461c8b15fdff0f..c058669c9ea3dc7d06942935543ae5a4c7ff7914 100644 (file)
@@ -132,7 +132,7 @@ namespace Functions
     /**
      * A mutex for accelerator object.
      */
-    mutable std::mutex acc_mutex;
+    mutable Threads::Mutex acc_mutex;
   };
 } // namespace Functions
 
index 068024917531c17116c59bcf4a7585b5d5078d92..dfb8a6e43f25d72c592c4e6e087d986761a16844 100644 (file)
@@ -120,7 +120,7 @@ namespace Functions
     /**
      * Thread mutex for supporting evaluation in multi-threaded contexts.
      */
-    mutable std::mutex mutex;
+    mutable Threads::Mutex mutex;
   };
 
 } // namespace Functions
index 8b6b74d9087b782ec5fddb0bb2cce5f93d3f01bb..fdc03bb4f8527d84a51f87e76248e9981c63caed 100644 (file)
@@ -911,7 +911,7 @@ private:
    * A lock that makes sure that this class gives reasonable results even when
    * used with several threads.
    */
-  std::mutex mutex;
+  Threads::Mutex mutex;
 };
 
 
index 8cec8ab34c862300020851888e73761bfff9487b..c07f1b2b7180e6e130cb33926f8a225f2bf7d11b 100644 (file)
@@ -529,7 +529,7 @@ public:
   /**
    * Move constructor.
    */
-  FESystem(FESystem<dim, spacedim> &&other_fe_system)
+  FESystem(FESystem<dim, spacedim> &&other_fe_system) noexcept
     : FiniteElement<dim, spacedim>(std::move(other_fe_system))
   {
     base_elements = std::move(other_fe_system.base_elements);
index 670a4d89f36b068fc79f56345f6be445f75ec28f..bd6ce6b776dd41e236cb8f554d98e8cebfe209f4 100644 (file)
@@ -266,7 +266,7 @@ private:
     /**
      * A variable to guard access to the fe_values variable.
      */
-    mutable std::mutex fe_values_mutex;
+    mutable Threads::Mutex fe_values_mutex;
   };
 };
 
index a02eacb1d77598263b7cdafe18ace86f2d3d8f2c..185a7dce5c933a8b0b3963f8a42b07623de8497c 100644 (file)
@@ -1210,7 +1210,7 @@ private:
    * A mutex to avoid that multiple vmult() invocations by different threads
    * overwrite the temporary vectors.
    */
-  mutable std::mutex mutex;
+  mutable Threads::Mutex mutex;
 
   /**
    * Initializes the factors theta and delta based on an eigenvalue
index 50df0d3b9293570f7f4ea5af208bfca0c0945625..857922232165ebea99ad9b3ee8a99e5cdef8dbda 100644 (file)
@@ -985,7 +985,7 @@ private:
   /**
    * Thread mutex.
    */
-  mutable std::mutex mutex;
+  mutable Threads::Mutex mutex;
 };
 
 // ----------------------- inline functions ----------------------------
index cc721bde3a059da8074ec0893f1eaa440a4814a2..eabcada2524f5e5a21245cacaca3cee70a192504 100644 (file)
@@ -462,7 +462,7 @@ private:
    * Mutex to synchronize access to internal data of this object from multiple
    * threads.
    */
-  static std::mutex mutex;
+  static Threads::Mutex mutex;
 };
 
 
index beb406df7255258cc14c79ec345f6e0fc9ebaf02..f9081291c724c0832bfcfaa43080d71efb2dd90b 100644 (file)
@@ -38,7 +38,7 @@ GrowingVectorMemory<VectorType>::get_pool()
 
 
 template <typename VectorType>
-std::mutex GrowingVectorMemory<VectorType>::mutex;
+Threads::Mutex GrowingVectorMemory<VectorType>::mutex;
 
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.