From 0dba2713dec4cf3f97f21b957e403a36ee989b3c Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Sat, 3 May 2008 05:07:13 +0000 Subject: [PATCH] add lock comment --- lib/dns/adb.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/dns/adb.c b/lib/dns/adb.c index 893a7dea24..96c4260383 100644 --- a/lib/dns/adb.c +++ b/lib/dns/adb.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: adb.c,v 1.240 2008/05/02 04:40:12 marka Exp $ */ +/* $Id: adb.c,v 1.241 2008/05/03 05:07:13 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);