MEDIUM: mworker: add proc_list in global.h

Add the process list in types/global.h so it could be accessed from
anywhere.
This commit is contained in:
William Lallemand 2018-10-26 14:47:34 +02:00 committed by Willy Tarreau
parent 1b66361f8d
commit 6e0db2fa99

View 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