Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81090 - trunk/boost/thread
From: vicente.botet_at_[hidden]
Date: 2012-10-28 21:27:54


Author: viboes
Date: 2012-10-28 21:27:53 EDT (Sun, 28 Oct 2012)
New Revision: 81090
URL: http://svn.boost.org/trac/boost/changeset/81090

Log:
Thread: deprecate boost::condition
Text files modified:
   trunk/boost/thread/condition.hpp | 7 ++++++-
   1 files changed, 6 insertions(+), 1 deletions(-)

Modified: trunk/boost/thread/condition.hpp
==============================================================================
--- trunk/boost/thread/condition.hpp (original)
+++ trunk/boost/thread/condition.hpp 2012-10-28 21:27:53 EDT (Sun, 28 Oct 2012)
@@ -1,11 +1,15 @@
 #ifndef BOOST_THREAD_CONDITION_HPP
 #define BOOST_THREAD_CONDITION_HPP
-// (C) Copyright 2007 Anthony Williams
+// (C) Copyright 2007 Anthony Williams
 //
 // Distributed under the Boost Software License, Version 1.0. (See
 // accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt)
 
+#include <boost/thread/detail/config.hpp>
+
+#if defined BOOST_THREAD_PROVIDES_CONDITION
+
 #include <boost/thread/condition_variable.hpp>
 
 namespace boost
@@ -14,3 +18,4 @@
 }
 
 #endif
+#endif


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk