|
Boost-Commit : |
From: john.groups_at_[hidden]
Date: 2008-02-04 18:50:24
Author: jtorjo
Date: 2008-02-04 18:50:23 EST (Mon, 04 Feb 2008)
New Revision: 43105
URL: http://svn.boost.org/trac/boost/changeset/43105
Log:
[logging]
test_on_dedicated_thread sleep more - allow other threads to do logging
Text files modified:
sandbox/logging/libs/logging/tests/test_on_ded_thread/test.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: sandbox/logging/libs/logging/tests/test_on_ded_thread/test.cpp
==============================================================================
--- sandbox/logging/libs/logging/tests/test_on_ded_thread/test.cpp (original)
+++ sandbox/logging/libs/logging/tests/test_on_ded_thread/test.cpp 2008-02-04 18:50:23 EST (Mon, 04 Feb 2008)
@@ -104,9 +104,9 @@
boost::thread t( &use_log_thread);
// allow for all threads to finish
- int sleep_ms = MESSAGES_PER_THREAD * THREAD_COUNT * 2 ;
+ int sleep_ms = MESSAGES_PER_THREAD * THREAD_COUNT * 5 /* just in case*/;
std::cout << "sleeping for " << sleep_ms << " milliseconds" << std::endl;
- do_sleep( MESSAGES_PER_THREAD * THREAD_COUNT * 2 /* just in case*/);
+ do_sleep( sleep_ms );
test_logged_messages();
}
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