mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
Kernel: Silence TTY signal debug spam
This commit is contained in:
parent
5d2159ee24
commit
3b3e7d3f46
Notes:
sideshowbarker
2024-07-18 22:04:07 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/3b3e7d3f463
1 changed files with 2 additions and 2 deletions
|
@ -283,10 +283,10 @@ void TTY::generate_signal(int signal)
|
|||
return;
|
||||
if (should_flush_on_signal())
|
||||
flush_input();
|
||||
dbgln("{}: Send signal {} to everyone in pgrp {}", tty_name(), signal, pgid().value());
|
||||
dbgln_if(TTY_DEBUG, "{}: Send signal {} to everyone in pgrp {}", tty_name(), signal, pgid().value());
|
||||
InterruptDisabler disabler; // FIXME: Iterate over a set of process handles instead?
|
||||
Process::for_each_in_pgrp(pgid(), [&](auto& process) {
|
||||
dbgln("{}: Send signal {} to {}", tty_name(), signal, process);
|
||||
dbgln_if(TTY_DEBUG, "{}: Send signal {} to {}", tty_name(), signal, process);
|
||||
// FIXME: Should this error be propagated somehow?
|
||||
[[maybe_unused]] auto rc = process.send_signal(signal, nullptr);
|
||||
return IterationDecision::Continue;
|
||||
|
|
Loading…
Reference in a new issue