From d11e2213ec208ca756775fa3edf48ea1a78df074 Mon Sep 17 00:00:00 2001 From: wolf Date: Fri, 19 May 2000 16:05:06 +0000 Subject: [PATCH] Change ACE_* to Threads::* git-svn-id: https://svn.dealii.org/trunk@2908 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/swappable_vector.h | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) 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# -- 2.39.5