]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Also rename ThreadMutex->Mutex and ThreadCondition->ConditionVariable in non-MT mode.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 23 Jan 2009 12:44:52 +0000 (12:44 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 23 Jan 2009 12:44:52 +0000 (12:44 +0000)
git-svn-id: https://svn.dealii.org/trunk@18278 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/thread_management.h

index 6641774d5edcdf698a2b8327add20ddf1e217bf6..4fdba09cbccadc21a400fdbae2864eccc62cd1dd 100644 (file)
@@ -568,6 +568,7 @@ namespace Threads
                                    * objects. Likewise for the
                                    * barrier class.
                                    */
+  typedef DummyThreadMutex     Mutex;
   typedef DummyThreadMutex     ThreadMutex;
 
                                   /**
@@ -579,7 +580,8 @@ namespace Threads
                                    * objects. Likewise for the
                                    * barrier class.
                                    */
-  typedef DummyThreadCondition ThreadCondition;  
+  typedef DummyThreadCondition ConditionVariable;
+  typedef DummyThreadCondition ThreadCondition;
 
                                   /**
                                    * In non-multithread mode, the

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.