forked from Bananymous/banan-os
Kernel/LibC: Cleanup, fix and implement a lot of signal code
This patch implements sigsets and some of their usages
This commit is contained in:
@@ -338,6 +338,10 @@ done:
|
||||
ASSERT(InterruptController::get().is_in_service(IRQ_TIMER));
|
||||
InterruptController::get().eoi(IRQ_TIMER);
|
||||
Processor::scheduler().timer_interrupt();
|
||||
|
||||
auto& current_thread = Thread::current();
|
||||
if (current_thread.can_add_signal_to_execute())
|
||||
current_thread.handle_signal();
|
||||
}
|
||||
|
||||
extern "C" void cpp_irq_handler(uint32_t irq)
|
||||
|
||||
Reference in New Issue
Block a user