commit | ff1e9f39b91ab945e0846bc8493c9e00445b337d | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Fri Sep 20 17:18:35 2019 +0200 |
committer | Olivier Houchard <cognet@ci0.org> | Mon Sep 23 18:16:08 2019 +0200 |
tree | 47b17d3d0d01a404297eaabbea87865c8b70b746 | |
parent | 0cd6a976ffed82646579b1645a7d60b8ad1a5ffe [diff] |
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().