BUG/MINOR: task: allow to use tasklet_wakeup_after with tid -1
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 13 Apr 2023 09:48:50 +0000 (11:48 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 18 Apr 2023 14:20:47 +0000 (16:20 +0200)
commitc361937d5196c119f2a4157f08b3201a30bd5e8d
tree135a31b5a8684cb100170e27ddebd92a757ae582
parentca1027c22fda9d993cbce716163d28b1e4e8aa0f
BUG/MINOR: task: allow to use tasklet_wakeup_after with tid -1

Adjust BUG_ON() statement to allow tasklet_wakeup_after() for tasklets
with tid pinned to -1 (the current thread). This is similar to
tasklet_wakeup().

This should be backported up to 2.6.
src/task.c