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

change dns_db_settask() to _setloop()

The mechanism for associating a worker task to a database now
uses loops rather than tasks.

For this reason, the parameters to dns_cache_create() have been
updated to take a loop manager rather than a task manager.
This commit is contained in:
Evan Hunt
2022-10-26 22:36:04 -07:00
parent 73d36a3901
commit 09ee254514
12 changed files with 90 additions and 120 deletions

View File

@@ -827,10 +827,10 @@ dns_db_hashsize(dns_db_t *db) {
}
void
dns_db_settask(dns_db_t *db, isc_task_t *task) {
dns_db_setloop(dns_db_t *db, isc_loop_t *loop) {
REQUIRE(DNS_DB_VALID(db));
(db->methods->settask)(db, task);
(db->methods->setloop)(db, loop);
}
isc_result_t