From: Wolfgang Bangerth Date: Fri, 19 May 2000 16:05:06 +0000 (+0000) Subject: Change ACE_* to Threads::* X-Git-Tag: v8.0.0~20497 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53966d4c3d9a711e10be46dbdbed6e18e2454d1e;p=dealii.git Change ACE_* to Threads::* git-svn-id: https://svn.dealii.org/trunk@2908 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/swappable_vector.h b/deal.II/lac/include/lac/swappable_vector.h index 664d300bea..4d1d0cbd99 100644 --- a/deal.II/lac/include/lac/swappable_vector.h +++ b/deal.II/lac/include/lac/swappable_vector.h @@ -239,7 +239,6 @@ class SwappableVector : public Vector */ string filename; -#ifdef DEAL_II_USE_MT /** * If in multithread mode, then * the #alert# function has @@ -247,16 +246,25 @@ class SwappableVector : public Vector * 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#