From: Willy Tarreau Date: Thu, 16 May 2019 15:37:27 +0000 (+0200) Subject: MINOR: task: export global_task_mask X-Git-Tag: v2.0-dev4~77 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aa1e1be88f39827c8f03753a3a3aaf570f75c640;p=thirdparty%2Fhaproxy.git MINOR: task: export global_task_mask It will be used in debugging functions and must be exported. --- diff --git a/include/proto/task.h b/include/proto/task.h index df9bc2ad2e..34757f138f 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;