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:
@@ -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
|
||||
|
Reference in New Issue
Block a user