|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r80821 - trunk/boost/thread
From: vicente.botet_at_[hidden]
Date: 2012-10-02 17:11:29
Author: viboes
Date: 2012-10-02 17:11:29 EDT (Tue, 02 Oct 2012)
New Revision: 80821
URL: http://svn.boost.org/trac/boost/changeset/80821
Log:
Thread: Fixed cout access issue
Text files modified:
trunk/boost/thread/future.hpp | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
Modified: trunk/boost/thread/future.hpp
==============================================================================
--- trunk/boost/thread/future.hpp (original)
+++ trunk/boost/thread/future.hpp 2012-10-02 17:11:29 EDT (Tue, 02 Oct 2012)
@@ -282,28 +282,20 @@
void wait(bool rethrow=true)
{
- //std::cout << __FILE__ << ":" << __LINE__ << std::endl;
boost::unique_lock<boost::mutex> lock(mutex);
- std::cout << __FILE__ << ":" << __LINE__ << std::endl;
do_callback(lock);
- std::cout << __FILE__ << ":" << __LINE__ << std::endl;
while(!done)
{
- std::cout << __FILE__ << ":" << __LINE__ << std::endl;
waiters.wait(lock);
}
- std::cout << __FILE__ << ":" << __LINE__ << std::endl;
if(rethrow && thread_was_interrupted)
{
- std::cout << __FILE__ << ":" << __LINE__ << std::endl;
throw boost::thread_interrupted();
}
if(rethrow && exception)
{
- std::cout << __FILE__ << ":" << __LINE__ << std::endl;
boost::rethrow_exception(exception);
}
- std::cout << __FILE__ << ":" << __LINE__ << std::endl;
}
bool timed_wait_until(boost::system_time const& target_time)
@@ -498,7 +490,6 @@
move_dest_type get()
{
wait();
- std::cout << __FILE__ << ":" << __LINE__ << " " << " " <<std::endl;
return static_cast<move_dest_type>(*result);
//return boost::move(*result); // todo check why this doesn't works (references?)
}
@@ -914,7 +905,6 @@
bool valid() const BOOST_NOEXCEPT
{
- //std::cout << __FILE__ << ":" << __LINE__ << std::endl;
return future_ != 0;
}
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