From b1db9d53252e65f44bbcdafe11ef2b6dbf63d4b9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Witold=20Kr=C4=99cicki?= Date: Fri, 7 Feb 2020 13:02:20 +0100 Subject: [PATCH] fixup! xxx processed counter --- lib/isc/task.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)( -- 2.47.3