BUG/BUILD: threads: unbreak build without threads
authorWilly Tarreau <w@1wt.eu>
Wed, 23 May 2018 17:54:43 +0000 (19:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 23 May 2018 17:54:43 +0000 (19:54 +0200)
commit0cd82e883ef034508ebeef04fd25ffc946e80cfc
tree1e81f648d963773aa3701da66d433fe055aae5b4
parentf3d9e608d73fae1a7f00341cb52371e4b2181c66
BUG/BUILD: threads: unbreak build without threads

A few users reported that building without threads was accidently broken
after commit 6b96f72 ("BUG/MEDIUM: pollers: Use a global list for fd
shared between threads.") due to all_threads_mask not being defined.
It's OK to set it to zero as other code parts do when threads are
enabled but only one thread is used.

This needs to be backported to 1.8.
include/common/hathreads.h