0
$\begingroup$

In non-preemptive scheduling, the running process cant be interrupted .But what will when the CPU receive a hardware interrupt such as the an interrupt from the printer indicating that the current job has been completed ? Does the CPU will preempt the current running process and handles the interrupt ( run its interrupt service routine ) or this interrupt will be stored and then handled when the current running process leaves the CPU ?

$\endgroup$

1 Answer 1

1
$\begingroup$

In a non-preemptive scheduler, the running process cannot be interrupted by another process. The running process can be interrupted by hardware interrupts.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.