]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix two incorrectly checked in things.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 9 Sep 2002 15:41:35 +0000 (15:41 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 9 Sep 2002 15:41:35 +0000 (15:41 +0000)
git-svn-id: https://svn.dealii.org/trunk@6374 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/thread_management.cc

index e21374e29a7ac0f00aa85e3d2436599e1e12979d..3b1992923920d04881d7d50c821aeda1e2cb1db7 100644 (file)
@@ -89,7 +89,7 @@ namespace Threads
   };
   
 
-#ifdef DEAL_II_USE_MT_POSIX_NO_BARRIERS    
+#ifndef DEAL_II_USE_MT_POSIX_NO_BARRIERS    
   PosixThreadBarrier::PosixThreadBarrier (const unsigned int  count,
                                          const char         *,
                                          void               *)
@@ -346,17 +346,12 @@ namespace Threads
                          0);    
 #  endif
     
-                                     // if truly in MT mode, increase
-                                     // thread number counter
-    ++n_existing_thread_counter;
-
 #else
                                      // if not in MT mode, then simply
                                      // call the respective
                                      // serializing function, that
                                      // executes the given function
-                                     // and return. don't have to
-                                     // adjust the number of threads
+                                     // and return
     thread_manager.spawn (*fun_data.fun_data_base->thread_entry_point,
                          (void*)&fun_data,
                          0);

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.