]> git.ipfire.org Git - thirdparty/bind9.git/commit
Change the isc_async API to use cds_wfcqueue internally
authorOndřej Surý <ondrej@isc.org>
Mon, 8 May 2023 21:31:54 +0000 (23:31 +0200)
committerOndřej Surý <ondrej@isc.org>
Fri, 12 May 2023 12:16:25 +0000 (14:16 +0200)
commit7b1d985de2f3be760ea5fedd191482fb943ed934
tree945656874e5c9a5a102afe30e6bd2782fd16be97
parentc90a9d6a09621907900fdfdfda137609ac640910
Change the isc_async API to use cds_wfcqueue internally

The isc_async API was using lock-free stack (where enqueue operation was
not wait-free).  Change the isc_async to use cds_wfcqueue internally -
enqueue and splice (move the queue members from one list to another) is
nonblocking and wait-free.
lib/isc/async.c
lib/isc/async_p.h
lib/isc/include/isc/job.h
lib/isc/include/isc/loop.h
lib/isc/job.c
lib/isc/job_p.h
lib/isc/loop.c
lib/isc/loop_p.h
lib/isc/netmgr/netmgr.c