From 4c2c67c85631f9d99780c7579633da7bf714a965 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 27 Sep 2018 16:22:16 -0600 Subject: [PATCH] Deprecate the PosixThreadBarrier class. --- include/deal.II/base/thread_management.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/include/deal.II/base/thread_management.h b/include/deal.II/base/thread_management.h index 0b5aed9982..7ed6874880 100644 --- a/include/deal.II/base/thread_management.h +++ b/include/deal.II/base/thread_management.h @@ -418,9 +418,12 @@ namespace Threads * at all). The rest of the threading functionality will be available in its * full extent, though, even if POSIX barriers are not available. * + * @deprecated This class is deprecated. It is easily possible to implement + * its functionality with the facilities provided by C++11. + * * @author Wolfgang Bangerth, 2002 */ - class PosixThreadBarrier + class DEAL_II_DEPRECATED PosixThreadBarrier { public: /** @@ -460,8 +463,11 @@ namespace Threads /** * If using POSIX functions, then alias the POSIX wrapper classes to the * names we use throughout the library. + * + * @deprecated Like the PosixThreadBarrier class, this `using` declaration + * is deprecated. */ - using Barrier = PosixThreadBarrier; + using Barrier DEAL_II_DEPRECATED = PosixThreadBarrier; # else /** -- 2.39.5