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

When in singlethreaded mode, don't drain the event queue before exiting

isc_app_run().  The events will be delivered when the taskmgr is destroyed.
This will allow, for example, dnssec-signzone to be aborted with ^C.
I think this works, and the system tests pass, but it might break something.
This commit is contained in:
Brian Wellington
2001-11-14 22:11:58 +00:00
parent b493dfe8bc
commit a873540eb6

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: app.c,v 1.44 2001/08/31 05:57:47 marka Exp $ */
/* $Id: app.c,v 1.45 2001/11/14 22:11:58 bwelling Exp $ */
#include <config.h>
@@ -527,9 +527,6 @@ isc_app_run(void) {
if (result != ISC_R_SUCCESS)
return (result);
while (isc__taskmgr_ready())
(void)isc__taskmgr_dispatch();
#endif /* ISC_PLATFORM_USETHREADS */
return (ISC_R_SUCCESS);