2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

If the app is blocked and a shutdown signal arrives, just exit().

This commit is contained in:
Brian Wellington
2001-01-17 00:48:54 +00:00
parent 427f933ece
commit 64dcb08113

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: app.c,v 1.37 2001/01/09 21:58:11 bwelling Exp $ */
/* $Id: app.c,v 1.38 2001/01/17 00:48:54 bwelling Exp $ */
#include <config.h>
@@ -493,6 +493,9 @@ isc_app_run(void) {
want_reload = ISC_FALSE;
return (ISC_R_RELOAD);
}
if (want_shutdown && blocked)
exit(-1);
}
#else /* ISC_PLATFORM_USETHREADS */