]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Bugfix: Define FP_USE_THREAD_SAFE_EVAL in case of enabled multithreading support.
authorMatthias Maier <tamiko@kyomu.43-1.org>
Sat, 16 Nov 2013 08:31:05 +0000 (08:31 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Sat, 16 Nov 2013 08:31:05 +0000 (08:31 +0000)
git-svn-id: https://svn.dealii.org/trunk@31682 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/bundled/functionparser/CMakeLists.txt
deal.II/doc/news/changes.h

index 9fb68b95dc4fd98e83b44e90db3a84e99428a11c..eaf39a348cf3e8346150521acad32e92b1878269 100644 (file)
@@ -26,3 +26,6 @@ DEAL_II_ADD_LIBRARY(obj_functionparser OBJECT
   fpoptimizer.cc
   )
 
+IF(DEAL_II_WITH_THREADS)
+  DEAL_II_ADD_DEFINITIONS(obj_functionparser "FP_USE_THREAD_SAFE_EVAL")
+ENDIF()
index b5997b9a333ebc095760e113f6fb0f6380d3c895..4e97f5aaa3c85aa267325f104f1c9dfb5f562818 100644 (file)
@@ -211,6 +211,12 @@ inconvenience this causes.
 <h3>Specific improvements</h3>
 
 <ol>
+  <li> Fixed: Bundled fparser is now compiled with FP_USE_THREAD_SAFE_EVAL in
+  case of enabled threading support so that it is thread safe.
+  <br>
+  (Matthias Maier, reported by Francesco Cattoglio 2013/11/16)
+  </li>
+
   <li> Fixed: The CellData class now has a default constructor that
   sets the material and boundary indicators to zero. This fixes certain
   internal errors with the Intel ICC compiler.

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.