]> git.ipfire.org Git - thirdparty/bind9.git/commit
add isc_task_pause() and isc_task_unpause() functions
authorEvan Hunt <each@isc.org>
Tue, 5 Nov 2019 23:23:33 +0000 (15:23 -0800)
committerEvan Hunt <each@isc.org>
Thu, 7 Nov 2019 19:55:37 +0000 (11:55 -0800)
commit59c64fa4bd89291edcf17bd4e97339d8c06a6a39
tree2a3f04c7864a8fcd4e20391407b7a3fc0e174de6
parent36ee430327b8ac0984ed4d8228c971881ae24788
add isc_task_pause() and isc_task_unpause() functions

This allows a task to be temporary disabled so that objects won't be
processed simultaneously by libuv events and isc_task events. When a
task is paused, currently running events may complete, but no further
event will added to the run queue will be executed until the task is
unpaused.
lib/isc/include/isc/task.h
lib/isc/task.c