Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49977 - trunk/libs/thread/example
From: anthony_at_[hidden]
Date: 2008-11-28 05:57:12


Author: anthonyw
Date: 2008-11-28 05:57:12 EST (Fri, 28 Nov 2008)
New Revision: 49977
URL: http://svn.boost.org/trac/boost/changeset/49977

Log:
Added test for making std::thread work with std::vector
Text files modified:
   trunk/libs/thread/example/thread.cpp | 1 +
   1 files changed, 1 insertions(+), 0 deletions(-)

Modified: trunk/libs/thread/example/thread.cpp
==============================================================================
--- trunk/libs/thread/example/thread.cpp (original)
+++ trunk/libs/thread/example/thread.cpp 2008-11-28 05:57:12 EST (Fri, 28 Nov 2008)
@@ -20,6 +20,7 @@
         boost::thread::sleep(xt);
 
         std::cout << "alarm sounded..." << std::endl;
+ throw "foo";
     }
 
     int m_secs;


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