commit | cfbb3e6560c8177752a6a29ca5736f0678784818 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Wed May 29 19:22:43 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed May 29 21:53:37 2019 +0200 |
tree | d3750417000ad40f30ef027ab3eb980ffe57ab43 | |
parent | 661167d136d5bf4ac40ac4fae450d66dd69a64df [diff] |
MEDIUM: tasks: Get rid of active_tasks_mask. Remove the active_tasks_mask variable, we can deduce if we've work to do by other means, and it is costly to maintain. Instead, introduce a new function, thread_has_tasks(), that returns non-zero if there's tasks scheduled for the thread, zero otherwise.