|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r71974 - sandbox/block_ptr/libs/smart_ptr/example
From: phil_at_[hidden]
Date: 2011-05-16 02:40:34
Author: pbouchard
Date: 2011-05-16 02:40:32 EDT (Mon, 16 May 2011)
New Revision: 71974
URL: http://svn.boost.org/trac/boost/changeset/71974
Log:
* Changed test to 4 threads
Text files modified:
sandbox/block_ptr/libs/smart_ptr/example/thread_test.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Modified: sandbox/block_ptr/libs/smart_ptr/example/thread_test.cpp
==============================================================================
--- sandbox/block_ptr/libs/smart_ptr/example/thread_test.cpp (original)
+++ sandbox/block_ptr/libs/smart_ptr/example/thread_test.cpp 2011-05-16 02:40:32 EDT (Mon, 16 May 2011)
@@ -30,15 +30,15 @@
boost::thread t0(worker, 0);
boost::thread t1(worker, 1);
- //boost::thread t2(worker, 2);
- //boost::thread t3(worker, 3);
+ boost::thread t2(worker, 2);
+ boost::thread t3(worker, 3);
std::cout << "main: waiting for thread" << std::endl;
t0.join();
t1.join();
- //t2.join();
- //t3.join();
+ t2.join();
+ t3.join();
std::cout << "main: done" << std::endl;
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