|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r71968 - sandbox/block_ptr/libs/smart_ptr/example
From: phil_at_[hidden]
Date: 2011-05-16 01:21:13
Author: pbouchard
Date: 2011-05-16 01:21:13 EDT (Mon, 16 May 2011)
New Revision: 71968
URL: http://svn.boost.org/trac/boost/changeset/71968
Log:
* Code cleanup
Text files modified:
sandbox/block_ptr/libs/smart_ptr/example/thread_test.cpp | 2 --
1 files changed, 0 insertions(+), 2 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 01:21:13 EDT (Mon, 16 May 2011)
@@ -7,7 +7,6 @@
using namespace boost;
-//mutex mutex_;
block_ptr< pair<int, int> > p;
@@ -17,7 +16,6 @@
for (int i = 0; i < 100000; ++ i)
{
- //mutex::scoped_lock scoped_lock(mutex_);
cout << id << "-" << i << ", " << flush;
p = make_block< pair<int, int> >(make_pair(id, i));
}
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