CS 452/652 Winter 2023 - Lecture 9

Feb 7, 2023 prev next

Timer Interrupt

AwaitEvent

Interrupt Handling

  1. user task executing
    [interrupt]
  2. handler saves task state and switches to kernel
  3. kernel makes task ready
  4. kernel determines interrupt number
  5. kernel processes interrupt
  6. kernel switches to next ready task

Clock Server

Server Processing

Clock Notifier

Idle/Halt