mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 05:28:00 +00:00
add lock comment
This commit is contained in:
parent
3e358ada3e
commit
0dba2713de
@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* 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
|
/*! \file
|
||||||
*
|
*
|
||||||
@ -1772,6 +1772,9 @@ shutdown_task(isc_task_t *task, isc_event_t *ev) {
|
|||||||
INSIST(DNS_ADB_VALID(adb));
|
INSIST(DNS_ADB_VALID(adb));
|
||||||
|
|
||||||
isc_event_free(&ev);
|
isc_event_free(&ev);
|
||||||
|
/*
|
||||||
|
* Wait for lock around check_exit() call to be released.
|
||||||
|
*/
|
||||||
LOCK(&adb->lock);
|
LOCK(&adb->lock);
|
||||||
UNLOCK(&adb->lock);
|
UNLOCK(&adb->lock);
|
||||||
destroy(adb);
|
destroy(adb);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user