]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tasks: Don't special-case when nbthreads == 1
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 17 Aug 2018 11:36:08 +0000 (13:36 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 17 Aug 2018 12:50:37 +0000 (14:50 +0200)
commit19bdf2428d171bc126d3571a2c69382654c7e384
treed9e75bb968b26cac0911b2a53aa80f24e0793e2c
parentf7e395505355294276427f575a5f125d1ffde15a
MINOR: tasks: Don't special-case when nbthreads == 1

Instead of checking if nbthreads == 1, just and thread_mask with
all_threads_mask to know if we're supposed to add the task to the local or
the global runqueue.
src/task.c