mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
Kernel: Remove commented-out code from Thread::dispatch_signal()
This commit is contained in:
parent
19d3f8cab7
commit
57ca15f126
Notes:
sideshowbarker
2024-07-18 23:01:50 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/57ca15f126a
1 changed files with 0 additions and 13 deletions
|
@ -694,19 +694,6 @@ DispatchSignalResult Thread::dispatch_signal(u8 signal)
|
|||
return DispatchSignalResult::Deferred;
|
||||
}
|
||||
|
||||
// if (is_stopped() && signal != SIGCONT && signal != SIGKILL && signal != SIGTRAP) {
|
||||
//#ifdef SIGNAL_DEBUG
|
||||
// klog() << "signal: " << *this << " is stopped, will handle signal " << signal << " when resumed";
|
||||
//#endif
|
||||
// return DispatchSignalResult::Deferred;
|
||||
// }
|
||||
// if (is_blocked()) {
|
||||
//#ifdef SIGNAL_DEBUG
|
||||
// klog() << "signal: " << *this << " is blocked, will handle signal " << signal << " when unblocking";
|
||||
//#endif
|
||||
// return DispatchSignalResult::Deferred;
|
||||
// }
|
||||
|
||||
auto& action = m_signal_action_data[signal];
|
||||
// FIXME: Implement SA_SIGINFO signal handlers.
|
||||
ASSERT(!(action.flags & SA_SIGINFO));
|
||||
|
|
Loading…
Reference in a new issue