]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add isc_async_current() macro to run job on current loop
authorOndřej Surý <ondrej@isc.org>
Wed, 29 Mar 2023 07:02:22 +0000 (09:02 +0200)
committerOndřej Surý <ondrej@isc.org>
Thu, 30 Mar 2023 14:07:41 +0000 (16:07 +0200)
commitf5fc224af39ca4bfcb421eece6e4597c30071429
tree5268437b72d8fe1ddde2cf938aa848a17ab1242d
parent1844590ad968f1cb9e6029568c5db05f654316ab
Add isc_async_current() macro to run job on current loop

Previously, isc_job_run() could have been used to run the job on the
current loop and the isc_job_run() would take care of allocating and
deallocating the job.  After the change in this MR, the isc_job_run()
is more complicated to use, so we introduce the isc_async_current()
macro to suplement isc_async_run() when we need to run the job on the
current loop.
bin/delv/delv.c
bin/dnssec/dnssec-signzone.c
bin/nsupdate/nsupdate.c
lib/isc/include/isc/async.h
tests/isc/doh_test.c
tests/isc/loop_test.c
tests/isc/netmgr_common.c
tests/isc/tcpdns_test.c
tests/isc/udp_test.c