|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r80700 - trunk/libs/lockfree/test
From: tim_at_[hidden]
Date: 2012-09-25 10:05:57
Author: timblechmann
Date: 2012-09-25 10:05:56 EDT (Tue, 25 Sep 2012)
New Revision: 80700
URL: http://svn.boost.org/trac/boost/changeset/80700
Log:
lockfree: relax freelist tests
Text files modified:
trunk/libs/lockfree/test/freelist_test.cpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Modified: trunk/libs/lockfree/test/freelist_test.cpp
==============================================================================
--- trunk/libs/lockfree/test/freelist_test.cpp (original)
+++ trunk/libs/lockfree/test/freelist_test.cpp 2012-09-25 10:05:56 EDT (Tue, 25 Sep 2012)
@@ -127,7 +127,11 @@
{
static const int size = 128;
static const int thread_count = 4;
+#ifndef BOOST_LOCKFREE_STRESS_TEST
+ static const int operations_per_thread = 1000;
+#else
static const int operations_per_thread = 100000;
+#endif
freelist_type fl;
boost::lockfree::queue<dummy*> allocated_nodes;
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