mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
2979. [bug] named could deadlock during shutdown if two
"rndc stop" commands were issued at the same time. [RT #22108]
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: task.c,v 1.111 2009/10/05 17:30:49 fdupont Exp $ */
|
||||
/* $Id: task.c,v 1.112 2010/12/03 22:05:19 each Exp $ */
|
||||
|
||||
/*! \file
|
||||
* \author Principal Author: Bob Halley
|
||||
@@ -1482,6 +1482,15 @@ isc__task_register() {
|
||||
}
|
||||
#endif
|
||||
|
||||
isc_boolean_t
|
||||
isc__task_exiting(isc_task_t *t) {
|
||||
isc__task_t *task = (isc__task_t *)t;
|
||||
|
||||
REQUIRE(VALID_TASK(task));
|
||||
return (TASK_SHUTTINGDOWN(task));
|
||||
}
|
||||
|
||||
|
||||
#if defined(HAVE_LIBXML2) && defined(BIND9)
|
||||
void
|
||||
isc_taskmgr_renderxml(isc_taskmgr_t *mgr0, xmlTextWriterPtr writer) {
|
||||
|
Reference in New Issue
Block a user