]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix pbl. with variable modifiers const and volatile.
authordeal <deal@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 16 Jan 2003 19:45:10 +0000 (19:45 +0000)
committerdeal <deal@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 16 Jan 2003 19:45:10 +0000 (19:45 +0000)
git-svn-id: https://svn.dealii.org/trunk@6925 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 2f49b541cf9cd334035a0bc48b1aacb7997d41c8..d7b4779dac9507d25ae14800f1e576af5b24a39c 100644 (file)
@@ -500,13 +500,13 @@ namespace Threads
                                        * files including it, we use a
                                        * void pointer instead.
                                        */
-      volatile void * const thread_id_list;
+      void * const thread_id_list;
 
                                       /**
                                        * Mutex by which we guard all
                                        * accesses to the thread list.
                                        */
-      PosixThreadMutex list_mutex;
+      mutable PosixThreadMutex list_mutex;
   };
   
   

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.