BUG/MEDIUM: tasklets: Add the thread as active when waking a tasklet.
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 17 Aug 2018 16:57:51 +0000 (18:57 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 21 Aug 2018 16:06:33 +0000 (18:06 +0200)
commitabedf5f6c37a4f21cf9c68e1e0f408218eb54a84
treedf3a0fb4dabbe4c0d93f5ff638b3472399130239
parent18a85fe6022083ad8ea7adf611aa0f179a91a986
BUG/MEDIUM: tasklets: Add the thread as active when waking a tasklet.

Set the flag for the current thread in active_threads_mask when waking a
tasklet, or we will never run it if no tasks are available.

This is 1.9-specific, no backport is needed.
include/proto/task.h