]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: tasks: Use the local runqueue when building without threads.
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 6 Jun 2018 12:01:08 +0000 (14:01 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 6 Jun 2018 14:34:52 +0000 (16:34 +0200)
commite13ab8b3c6e72d68fdb9cb6d694a2557b309c87f
tree4efba0779eeca4b552f7bd4a257d5d2ae63f3b54
parentcc0a957a50caa850877592f271258274561def0e
BUG/MEDIUM: tasks: Use the local runqueue when building without threads.

When building without threads enabled, instead of just using the global
runqueue, just use the local runqueue associated with the only thread, as
that's what is now expected for a single thread in prcoess_runnable_tasks().
This should fix haproxy when built without threads.
include/proto/task.h