From: Wolfgang Bangerth Date: Thu, 27 Sep 2018 22:22:16 +0000 (-0600) Subject: Deprecate the PosixThreadBarrier class. X-Git-Tag: v9.1.0-rc1~677^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c2c67c85631f9d99780c7579633da7bf714a965;p=dealii.git Deprecate the PosixThreadBarrier class. --- 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 /**