BIND 10 trac2198_2, updated. 5b781744ac6f909958754f7e5947115ec799ac18 [2198] Update comment

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Oct 15 04:33:26 UTC 2012


The branch, trac2198_2 has been updated
       via  5b781744ac6f909958754f7e5947115ec799ac18 (commit)
      from  4ed683ce42d061905a4e5b06fcc1a38c64136e7a (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 5b781744ac6f909958754f7e5947115ec799ac18
Author: Mukund Sivaraman <muks at isc.org>
Date:   Mon Oct 15 10:01:18 2012 +0530

    [2198] Update comment

-----------------------------------------------------------------------

Summary of changes:
 src/lib/util/threads/tests/lock_unittest.cc |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/util/threads/tests/lock_unittest.cc b/src/lib/util/threads/tests/lock_unittest.cc
index feabe3f..0c6bcc7 100644
--- a/src/lib/util/threads/tests/lock_unittest.cc
+++ b/src/lib/util/threads/tests/lock_unittest.cc
@@ -48,8 +48,9 @@ TEST(MutexTest, lockMultiple) {
 void*
 testThread(Mutex* mutex)
 {
-    // This should not block indefinitely, but throw AlreadyLocked.
-    // block=false (tryLock).
+    // block=false (tryLock).  This should not block indefinitely, but
+    // throw AlreadyLocked. If block were true, this would block
+    // indefinitely here.
     EXPECT_THROW({
         Mutex::Locker l3(*mutex, false);
     }, Mutex::Locker::AlreadyLocked);



More information about the bind10-changes mailing list