commit | 19bdf2428d171bc126d3571a2c69382654c7e384 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Fri Aug 17 13:36:08 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Aug 17 14:50:37 2018 +0200 |
tree | d9e75bb968b26cac0911b2a53aa80f24e0793e2c | |
parent | f7e395505355294276427f575a5f125d1ffde15a [diff] |
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.