|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r81583 - trunk/boost/thread/pthread
From: vicente.botet_at_[hidden]
Date: 2012-11-26 17:58:01
Author: viboes
Date: 2012-11-26 17:58:00 EST (Mon, 26 Nov 2012)
New Revision: 81583
URL: http://svn.boost.org/trac/boost/changeset/81583
Log:
Thread: don't use thread_data if no interruptions
Text files modified:
trunk/boost/thread/pthread/condition_variable.hpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
Modified: trunk/boost/thread/pthread/condition_variable.hpp
==============================================================================
--- trunk/boost/thread/pthread/condition_variable.hpp (original)
+++ trunk/boost/thread/pthread/condition_variable.hpp 2012-11-26 17:58:00 EST (Mon, 26 Nov 2012)
@@ -8,7 +8,9 @@
#include <boost/thread/pthread/timespec.hpp>
#include <boost/thread/pthread/pthread_mutex_scoped_lock.hpp>
+#if defined BOOST_THREAD_PROVIDES_INTERRUPTIONS
#include <boost/thread/pthread/thread_data.hpp>
+#endif
#include <boost/thread/pthread/condition_variable_fwd.hpp>
#ifdef BOOST_THREAD_USES_CHRONO
#include <boost/chrono/system_clocks.hpp>
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