MINOR: sched: split tasklet_wakeup() into tasklet_wakeup_on()
authorWilly Tarreau <w@1wt.eu>
Fri, 3 Jul 2020 15:13:05 +0000 (17:13 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 3 Jul 2020 15:19:47 +0000 (17:19 +0200)
commit43079e07316638c98acd04977fe156b338528d51
treee50eeb279569e2e271543ef552525c44ad8e40eb
parent18ed789ae262382e3fe89288132d709c114575aa
MINOR: sched: split tasklet_wakeup() into tasklet_wakeup_on()

tasklet_wakeup() only checks tl->tid to know whether the task is
programmed to run on the current thread or on a specific thread. We'll
have to ease this selection in a subsequent patch, preferably without
modifying tl->tid, so let's have a new tasklet_wakeup_on() function
to specify the thread number to run on. That the logic has not changed
at all.
include/haproxy/task.h