BUG/MEDIUM: threads: Initialize the sync-point
The sync point must be initialized before starting threads. This line was lost
in one of merges preparing the threads support integration.
diff --git a/src/haproxy.c b/src/haproxy.c
index 2d2d877..ed6c8ba 100644
--- a/src/haproxy.c
+++ b/src/haproxy.c
@@ -2806,6 +2806,8 @@
pthread_t *threads = calloc(global.nbthread, sizeof(pthread_t));
int i;
+ THREAD_SYNC_INIT((1UL << global.nbthread) - 1);
+
/* Init tids array */
for (i = 0; i < global.nbthread; i++)
tids[i] = i;