From: wolf Date: Mon, 9 Sep 2002 15:41:35 +0000 (+0000) Subject: Fix two incorrectly checked in things. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52d41da2876ced4680432d9708ec42c0bb3c1038;p=dealii-svn.git Fix two incorrectly checked in things. git-svn-id: https://svn.dealii.org/trunk@6374 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/source/thread_management.cc b/deal.II/base/source/thread_management.cc index e21374e29a..3b19929239 100644 --- a/deal.II/base/source/thread_management.cc +++ b/deal.II/base/source/thread_management.cc @@ -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);