From aa1e1be88f39827c8f03753a3a3aaf570f75c640 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Thu, 16 May 2019 17:37:27 +0200 Subject: [PATCH] MINOR: task: export global_task_mask It will be used in debugging functions and must be exported. --- include/proto/task.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/proto/task.h b/include/proto/task.h index df9bc2ad2..34757f138 100644 --- a/include/proto/task.h +++ b/include/proto/task.h @@ -84,6 +84,7 @@ /* a few exported variables */ extern unsigned int nb_tasks; /* total number of tasks */ extern volatile unsigned long active_tasks_mask; /* Mask of threads with active tasks */ +extern volatile unsigned long global_tasks_mask; /* Mask of threads with tasks in the global runqueue */ extern unsigned int tasks_run_queue; /* run queue size */ extern unsigned int tasks_run_queue_cur; extern unsigned int nb_tasks_cur;