BIND 10 trac2202, updated. beccbfe1acb5e6e309d5dee9cbc4461434091520 [2202] some more minor editorial fix: spacing
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Sep 17 17:11:13 UTC 2012
The branch, trac2202 has been updated
via beccbfe1acb5e6e309d5dee9cbc4461434091520 (commit)
from abd88f16af1295f2ff67f5e9593e61d1539ef6e4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit beccbfe1acb5e6e309d5dee9cbc4461434091520
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Mon Sep 17 10:10:47 2012 -0700
[2202] some more minor editorial fix: spacing
-----------------------------------------------------------------------
Summary of changes:
src/lib/util/threads/tests/thread_unittest.cc | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/util/threads/tests/thread_unittest.cc b/src/lib/util/threads/tests/thread_unittest.cc
index 7ba162b..f94c359 100644
--- a/src/lib/util/threads/tests/thread_unittest.cc
+++ b/src/lib/util/threads/tests/thread_unittest.cc
@@ -44,7 +44,7 @@ doSomething(int* x) {
// We just test that we can forget about the thread and nothing
// bad will happen on our side.
TEST(ThreadTest, detached) {
- for (size_t i = 0; i < detached_iterations; ++ i) {
+ for (size_t i = 0; i < detached_iterations; ++i) {
int* x = new int[10];
Thread thread(boost::bind(&doSomething, x));
}
@@ -58,7 +58,7 @@ markRun(bool* mark) {
// Wait for a thread to end first. The variable must be set at the time.
TEST(ThreadTest, wait) {
- for (size_t i = 0; i < iterations; ++ i) {
+ for (size_t i = 0; i < iterations; ++i) {
bool mark = false;
Thread thread(boost::bind(markRun, &mark));
thread.wait();
@@ -75,14 +75,14 @@ throwSomething() {
// Exception in the thread we forget about should not do anything to us
TEST(ThreadTest, detachedException) {
- for (size_t i = 0; i < detached_iterations; ++ i) {
+ for (size_t i = 0; i < detached_iterations; ++i) {
Thread thread(throwSomething);
}
}
// An uncaught exception in the thread should propagate through wait
TEST(ThreadTest, exception) {
- for (size_t i = 0; i < iterations; ++ i) {
+ for (size_t i = 0; i < iterations; ++i) {
Thread thread(throwSomething);
ASSERT_THROW(thread.wait(), Thread::UncaughtException);
}
More information about the bind10-changes
mailing list