BIND 10 trac2202, updated. dd5bb15644a8e6d0df49d93ee8e982d2d0d463ea [2202] More detail in TODO comment

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Oct 1 13:37:51 UTC 2012


The branch, trac2202 has been updated
       via  dd5bb15644a8e6d0df49d93ee8e982d2d0d463ea (commit)
      from  936498565a5249df01ad44a808bb447952240c90 (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 dd5bb15644a8e6d0df49d93ee8e982d2d0d463ea
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Mon Oct 1 15:37:38 2012 +0200

    [2202] More detail in TODO comment

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

Summary of changes:
 src/bin/auth/tests/auth_srv_unittest.cc |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

-----------------------------------------------------------------------
diff --git a/src/bin/auth/tests/auth_srv_unittest.cc b/src/bin/auth/tests/auth_srv_unittest.cc
index de1a9ec..494540e 100644
--- a/src/bin/auth/tests/auth_srv_unittest.cc
+++ b/src/bin/auth/tests/auth_srv_unittest.cc
@@ -1802,7 +1802,9 @@ TEST_F(AuthSrvTest, clientList) {
 // We just test the mutex can be locked (exactly once).
 TEST_F(AuthSrvTest, mutex) {
     isc::util::thread::Mutex::Locker l1(server.getClientListMutex());
-    // TODO: Once we have non-debug build, this one will not work.
+    // TODO: Once we have non-debug build, this one will not work, since
+    // we currently use the fact that we can't lock twice from the same
+    // thread. In the non-debug mode, this would deadlock.
     // Skip then.
     EXPECT_THROW({
         isc::util::thread::Mutex::Locker l2(server.getClientListMutex());



More information about the bind10-changes mailing list