mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 22:01:31 +02:00
MINOR: signal: don't pass the signal number anymore as the wakeup reason
This is never used and would even be wrong since the reasons are ORed so two signals would be turned into a third value, just like if any other reason was used at the same time.
This commit is contained in:
parent
c4aac9effe
commit
ad8bd2467c
@ -89,7 +89,7 @@ void __signal_process_queue()
|
||||
if ((sh->flags & SIG_F_TYPE_FCT) && sh->handler)
|
||||
((void (*)(struct sig_handler *))sh->handler)(sh);
|
||||
else if ((sh->flags & SIG_F_TYPE_TASK) && sh->handler)
|
||||
task_wakeup(sh->handler, sh->arg | TASK_WOKEN_SIGNAL);
|
||||
task_wakeup(sh->handler, TASK_WOKEN_SIGNAL);
|
||||
}
|
||||
desc->count = 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user