Kernel: Allow adding signals to thread that are blocked

This commit is contained in:
2025-08-20 18:35:18 +03:00
parent 84f579be81
commit 49122cf729
3 changed files with 11 additions and 14 deletions

View File

@@ -309,7 +309,7 @@ namespace Kernel
LockGuard _(m_process_lock);
for (auto* thread : m_threads)
if (thread != &Thread::current())
ASSERT(thread->add_signal(SIGKILL));
thread->add_signal(SIGKILL);
}
while (m_threads.size() > 1)