From: Witold Kręcicki Date: Fri, 7 Feb 2020 12:02:20 +0000 (+0100) Subject: fixup! xxx processed counter X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1db9d53252e65f44bbcdafe11ef2b6dbf63d4b9;p=thirdparty%2Fbind9.git fixup! xxx processed counter --- diff --git a/lib/isc/task.c b/lib/isc/task.c index 66f497869f2..1639b327620 100644 --- a/lib/isc/task.c +++ b/lib/isc/task.c @@ -1125,7 +1125,6 @@ dispatch(isc__taskmgr_t *manager, unsigned int threadid) { * have a task to do. We must reacquire the queue * lock before exiting the 'if (task != NULL)' block. */ - manager->queues[threadid].eprocessed++; UNLOCK(&manager->queues[threadid].lock); RUNTIME_CHECK( atomic_fetch_sub_explicit(&manager->tasks_ready, @@ -1162,6 +1161,7 @@ dispatch(isc__taskmgr_t *manager, unsigned int threadid) { */ XTRACE("execute action"); XTRACE(task->name); + manager->queues[threadid].eprocessed++; if (event->ev_action != NULL) { UNLOCK(&task->lock); (event->ev_action)(