MINOR: tasks: Don't define rqueue if we're building without threads.
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 6 Jun 2018 12:22:03 +0000 (14:22 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 6 Jun 2018 14:35:12 +0000 (16:35 +0200)
commitb1ca58b245e8e1dec098c5c0a83e4c4fd7b77a6c
treeca3abfae9fcd6e76c3ba647d489e58daa74f5a52
parente13ab8b3c6e72d68fdb9cb6d694a2557b309c87f
MINOR: tasks: Don't define rqueue if we're building without threads.

To make sure we don't inadvertently insert task in the global runqueue,
while only the local runqueue is used without threads, make its definition
and usage conditional on USE_THREAD.
include/proto/task.h
src/task.c