mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 10:19:03 +03: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
@ -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 New Issue
Block a user