2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-05 00:55:24 +00:00
This commit is contained in:
Bob Halley
1998-08-20 22:21:35 +00:00
parent d740c17c9c
commit 2acf552661
3 changed files with 32 additions and 5 deletions

View File

@@ -766,6 +766,12 @@ task_manager_destroy(task_manager_t *managerp) {
/*
* Wait for all the worker threads to exit.
*
* XXX This will become a timed wait. If all the workers haven't
* died after we've waited the specified interval, we will
* kill the worker threads. Should we join with the worker
* threads after killing them or just leave them detached and
* hope they go away?
*/
while (manager->workers > 0)
WAIT(&manager->no_workers, &manager->lock);