]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: task: export global_task_mask
authorWilly Tarreau <w@1wt.eu>
Thu, 16 May 2019 15:37:27 +0000 (17:37 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 16 May 2019 16:02:03 +0000 (18:02 +0200)
It will be used in debugging functions and must be exported.

include/proto/task.h

index df9bc2ad2e6a8c860e2aacf972fc55752fa6ef87..34757f138fd81a4d3d197a0d70a15b814de6c6ca 100644 (file)
@@ -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;