]> git.ipfire.org Git - thirdparty/bind9.git/commit
Change the loopmgr to be singleton
authorOndřej Surý <ondrej@isc.org>
Mon, 14 Jul 2025 08:50:21 +0000 (10:50 +0200)
committerOndřej Surý <ondrej@isc.org>
Wed, 23 Jul 2025 20:44:16 +0000 (22:44 +0200)
commitb8d00e2e1871dc727e92dcdcb1d50fd029d2b8d3
tree3311d24415fadbeecba8b2d86d52bfed4e06fd3d
parent93431eb8395a4d9b2ec8b3ef72aaa47f55a63eae
Change the loopmgr to be singleton

All the applications built on top of the loop manager were required to
create just a single instance of the loop manager.  Refactor the loop
manager to not expose this instance to the callers and keep the loop
manager object internal to the isc_loop compilation unit.

This significantly simplifies a number of data structures and calls to
the isc_loop API.
102 files changed:
bin/delv/delv.c
bin/dig/dig.c
bin/dig/dighost.c
bin/dig/dighost.h
bin/dig/host.c
bin/dig/nslookup.c
bin/dnssec/dnssec-signzone.c
bin/named/control.c
bin/named/controlconf.c
bin/named/fuzz.c
bin/named/include/named/globals.h
bin/named/main.c
bin/named/server.c
bin/nsupdate/nsupdate.c
bin/rndc/rndc.c
bin/tests/system/dyndb/driver/instance.c
bin/tests/system/dyndb/driver/instance.h
bin/tests/system/pipelined/pipequeries.c
bin/tests/test_client.c
bin/tests/test_server.c
bin/tools/mdig.c
doc/dev/loopmgr.md
fuzz/dns_message_checksig.c
lib/dns/adb.c
lib/dns/badcache.c
lib/dns/cache.c
lib/dns/catz.c
lib/dns/client.c
lib/dns/dispatch.c
lib/dns/dnstap.c
lib/dns/dyndb.c
lib/dns/include/dns/adb.h
lib/dns/include/dns/badcache.h
lib/dns/include/dns/cache.h
lib/dns/include/dns/catz.h
lib/dns/include/dns/client.h
lib/dns/include/dns/dispatch.h
lib/dns/include/dns/dyndb.h
lib/dns/include/dns/nta.h
lib/dns/include/dns/request.h
lib/dns/include/dns/resolver.h
lib/dns/include/dns/rpz.h
lib/dns/include/dns/unreachcache.h
lib/dns/include/dns/view.h
lib/dns/nta.c
lib/dns/qpcache.c
lib/dns/request.c
lib/dns/resolver.c
lib/dns/rpz.c
lib/dns/unreachcache.c
lib/dns/view.c
lib/dns/zone.c
lib/isc/helper.c
lib/isc/include/isc/loop.h
lib/isc/include/isc/managers.h
lib/isc/include/isc/netmgr.h
lib/isc/include/isc/signal.h
lib/isc/include/isc/types.h
lib/isc/loop.c
lib/isc/loop_p.h
lib/isc/managers.c
lib/isc/netmgr/http.c
lib/isc/netmgr/netmgr-int.h
lib/isc/netmgr/netmgr.c
lib/isc/netmgr/tlsstream.c
lib/isc/signal.c
lib/isc/timer.c
lib/ns/client.c
lib/ns/include/ns/client.h
lib/ns/include/ns/interfacemgr.h
lib/ns/interfacemgr.c
tests/bench/qpmulti.c
tests/dns/badcache_test.c
tests/dns/db_test.c
tests/dns/dispatch_test.c
tests/dns/dnstap_test.c
tests/dns/keytable_test.c
tests/dns/qpdb_test.c
tests/dns/qpmulti_test.c
tests/dns/resolver_test.c
tests/dns/unreachcache_test.c
tests/dns/zonefile_test.c
tests/dns/zonemgr_test.c
tests/dns/zt_test.c
tests/include/tests/isc.h
tests/isc/async_test.c
tests/isc/doh_test.c
tests/isc/job_test.c
tests/isc/loop_test.c
tests/isc/netmgr_common.c
tests/isc/ratelimiter_test.c
tests/isc/stream_shutdown.c
tests/isc/tcpdns_test.c
tests/isc/timer_test.c
tests/isc/tlsdns_test.c
tests/isc/udp_test.c
tests/isc/work_test.c
tests/libtest/dns.c
tests/libtest/isc.c
tests/libtest/ns.c
tests/ns/notify_test.c
tests/ns/query_test.c