|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r86774 - trunk/libs/thread/example
From: vicente.botet_at_[hidden]
Date: 2013-11-19 17:09:40
Author: viboes
Date: 2013-11-19 17:09:40 EST (Tue, 19 Nov 2013)
New Revision: 86774
URL: http://svn.boost.org/trac/boost/changeset/86774
Log:
Thread: add exception trace.
Text files modified:
trunk/libs/thread/example/future_then.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
Modified: trunk/libs/thread/example/future_then.cpp
==============================================================================
--- trunk/libs/thread/example/future_then.cpp Tue Nov 19 17:08:29 2013 (r86773)
+++ trunk/libs/thread/example/future_then.cpp 2013-11-19 17:09:40 EST (Tue, 19 Nov 2013) (r86774)
@@ -79,6 +79,7 @@
}
catch (std::exception& ex)
{
+ std::cout << "ERRORRRRR "<<ex.what() << "" << std::endl;
BOOST_THREAD_LOG << "ERRORRRRR "<<ex.what() << "" << BOOST_THREAD_END_LOG;
return 1;
}
@@ -103,6 +104,7 @@
}
catch (std::exception& ex)
{
+ std::cout << "ERRORRRRR "<<ex.what() << "" << std::endl;
BOOST_THREAD_LOG << "ERRORRRRR "<<ex.what() << "" << BOOST_THREAD_END_LOG;
return 1;
}
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