]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Change ACE_* to Threads::*
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 19 May 2000 16:05:06 +0000 (16:05 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 19 May 2000 16:05:06 +0000 (16:05 +0000)
git-svn-id: https://svn.dealii.org/trunk@2908 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/swappable_vector.h

index 664d300beab116faff811dc720d481a3b70875c6..4d1d0cbd9948dbc988545d214459709fa0945177 100644 (file)
@@ -239,7 +239,6 @@ class SwappableVector : public Vector<number>
                                      */
     string filename;
 
-#ifdef DEAL_II_USE_MT
                                     /**
                                      * If in multithread mode, then
                                      * the #alert# function has
@@ -247,16 +246,25 @@ class SwappableVector : public Vector<number>
                                      * coordinate with the #reload#
                                      * function. This is done through
                                      * the following lock.
+                                     *
+                                     * If not in MT mode, then the
+                                     * class used here is empty, and
+                                     * we can as well get away
+                                     * with it.
                                      */
-    ACE_Thread_Mutex lock;
+    Threads::ThreadMutex lock;
 
                                     /**
                                      * Declare a thread manager that
                                      * is used to spawn threads in
                                      * #alert# detached.
+                                     *
+                                     * If not in MT mode, then the
+                                     * class used here is empty, and
+                                     * we can as well get away
+                                     * without it.
                                      */
     static Threads::ThreadManager thread_manager;
-#endif
 
                                     /**
                                      * Flag by which the #alert#

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.