]> https://gitweb.dealii.org/ - dealii.git/commitdiff
remove DEAL_VOLATILE 6805/head
authorMatthias Maier <tamiko@43-1.org>
Wed, 20 Jun 2018 12:59:47 +0000 (07:59 -0500)
committerMatthias Maier <tamiko@43-1.org>
Wed, 20 Jun 2018 12:59:47 +0000 (07:59 -0500)
Deprecated in 9.0.0. Good to go (and volatile is terminally broken for
threats anyway).

include/deal.II/base/config.h.in

index d66211ef985eecbd9b769b5ac7d12b53dd9f0d7a..e451448b564aac49d3baa23d25676f744b8208f0 100644 (file)
 #cmakedefine DEAL_II_TRILINOS_WITH_ROL
 #cmakedefine DEAL_II_TRILINOS_WITH_ZOLTAN
 
-/*
- * Depending on the use of threads, we will have to make some variables
- * volatile. We do this here in a very old-fashioned C-style, but still
- * convenient way.
- *
- * @deprecated This macro is deprecated in favor of using the
- * <code>std::atomic</code> template class.
- */
-#ifdef DEAL_II_WITH_THREADS
-#  define DEAL_VOLATILE volatile
-#else
-#  define DEAL_VOLATILE
-#endif
-
 
 /***********************************************************************
  * Various macros for version number query and comparison:

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.