]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: tasklets: Make the tasklet list a struct mt_list.
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 20 Sep 2019 15:18:35 +0000 (17:18 +0200)
committerOlivier Houchard <cognet@ci0.org>
Mon, 23 Sep 2019 16:16:08 +0000 (18:16 +0200)
commitff1e9f39b91ab945e0846bc8493c9e00445b337d
tree47b17d3d0d01a404297eaabbea87865c8b70b746
parent0cd6a976ffed82646579b1645a7d60b8ad1a5ffe
MEDIUM: tasklets: Make the tasklet list a struct mt_list.

Change the tasklet code so that the tasklet list is now a mt_list.
That means that tasklet now do have an associated tid, for the thread it
is expected to run on, and any thread can now call tasklet_wakeup() for
that tasklet.
One can change the associated tid with tasklet_set_tid().
include/proto/task.h
include/types/task.h
src/checks.c
src/debug.c
src/task.c