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

Refactor dnssec-signzone to use loop callbacks

Use isc_job_run() instead of isc_task_send() for dnssec-signzone
worker threads.

Also fix the issue where the additional assignwork() would be run only
from the main thread effectively serializing all the signing.
This commit is contained in:
Evan Hunt
2022-10-26 20:10:08 -07:00
parent 630724684a
commit a2d773fb98
3 changed files with 39 additions and 94 deletions

View File

@@ -2608,7 +2608,7 @@ isc__networker_destroy(isc__networker_t *worker) {
worker->netmgr = NULL;
isc__netmgr_log(netmgr, ISC_LOG_DEBUG(1),
"Destroying down network manager worker on loop %p(%d)",
"Destroying network manager worker on loop %p(%d)",
worker->loop, isc_tid());
isc_loop_detach(&worker->loop);