diff --git a/src/haproxy.c b/src/haproxy.c index 29c65f592..64da497b0 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -145,7 +145,8 @@ int relative_pid = 1; /* process id starting at 1 */ unsigned long pid_bit = 1; /* bit corresponding to the process id */ unsigned long all_proc_mask = 1; /* mask of all processes */ -volatile unsigned long sleeping_thread_mask; /* Threads that are about to sleep in poll() */ +volatile unsigned long sleeping_thread_mask = 0; /* Threads that are about to sleep in poll() */ + /* global options */ struct global global = { .hard_stop_after = TICK_ETERNITY,