mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:27:43 +00:00
Kernel: Remove commented-out code from Thread::dispatch_signal()
This commit is contained in:
parent
19d3f8cab7
commit
57ca15f126
1 changed files with 0 additions and 13 deletions
|
@ -694,19 +694,6 @@ DispatchSignalResult Thread::dispatch_signal(u8 signal)
|
||||||
return DispatchSignalResult::Deferred;
|
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];
|
auto& action = m_signal_action_data[signal];
|
||||||
// FIXME: Implement SA_SIGINFO signal handlers.
|
// FIXME: Implement SA_SIGINFO signal handlers.
|
||||||
ASSERT(!(action.flags & SA_SIGINFO));
|
ASSERT(!(action.flags & SA_SIGINFO));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue