]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MEDIUM: mworker: add proc_list in global.h
authorWilliam Lallemand <wlallemand@haproxy.com>
Fri, 26 Oct 2018 12:47:34 +0000 (14:47 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 28 Oct 2018 12:51:39 +0000 (13:51 +0100)
Add the process list in types/global.h so it could be accessed from
anywhere.

include/types/global.h

index 201a18a1527e64ef596b5b7a8a67f6abcc9f6c4d..66ae6da832c8b7ab9c78b6da138933212481e0c2 100644 (file)
@@ -234,6 +234,7 @@ extern struct list global_listener_queue; /* list of the temporarily limited lis
 extern struct task *global_listener_queue_task;
 extern unsigned int warned;     /* bitfield of a few warnings to emit just once */
 extern volatile unsigned long sleeping_thread_mask;
+extern struct list proc_list; /* list of process in mworker mode */
 
 /* bit values to go with "warned" above */
 #define WARN_BLOCK_DEPRECATED       0x00000001