Kernel: Scheduler now sends queued signals

This commit is contained in:
2023-07-21 19:27:10 +03:00
parent 40f7c6b8fa
commit b78596dcf4
4 changed files with 18 additions and 4 deletions
+2
View File
@@ -212,6 +212,8 @@ namespace Kernel
current.set_started();
start_thread(current.rsp(), current.rip());
case Thread::State::Executing:
while (!current.m_signal_queue.empty())
current.handle_next_signal();
continue_thread(current.rsp(), current.rip());
case Thread::State::Terminating:
ENABLE_INTERRUPTS();