]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
add lock comment
authorMark Andrews <marka@isc.org>
Sat, 3 May 2008 05:06:03 +0000 (05:06 +0000)
committerMark Andrews <marka@isc.org>
Sat, 3 May 2008 05:06:03 +0000 (05:06 +0000)
lib/dns/adb.c

index 0f9390d0e28847545d47752edb5b71d407e5fbba..e862a7264e0878325cdeffa1ddf097590317fa93 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: adb.c,v 1.233.36.7 2008/05/02 04:42:32 marka Exp $ */
+/* $Id: adb.c,v 1.233.36.8 2008/05/03 05:06:03 marka Exp $ */
 
 /*! \file
  *
@@ -1772,6 +1772,9 @@ shutdown_task(isc_task_t *task, isc_event_t *ev) {
        INSIST(DNS_ADB_VALID(adb));
 
        isc_event_free(&ev);
+       /*
+        * Wait for lock around check_exit() call to be released.
+        */
        LOCK(&adb->lock);
        UNLOCK(&adb->lock);
        destroy(adb);