Download presentation
Presentation is loading. Please wait.
Published byRobert Goldschmidt Modified over 6 years ago
1
Announcements Homework #2 scores in Blackboard
Homework #3 solutions in Blackboard Homework #4 due Thursday, Oct 18, 4:30pm late submissions will not be accepted! use “turnin” program to submit Question 5 Question 5 now worth 40 points Upcoming office hours: Tomorrow: Chris 1-3pm, Swati 6:30-7:30pm Thursday: Greg 11am-12pm, Chris 3-4pm 1 1 1
2
Schedule Last time: Subroutines & Traps (Ch. 9)
Today: Interrupts (8.5, 10.1, 10.2) Thursday: midterm exam review Next Monday/Tuesday: no lab! no class! Next Wednesday: exam review 6pm Next Thursday: Midterm Exam! 2 2 2
4
Q: What were the two different options for performing I/O?
5
Polling did he call yet? did he call yet? did he call yet?
6
Interrupts ring!
7
Why interrupts? Polling spends a lot of cycles doing nothing
Computer can't sit around waiting for: incoming network traffic mouse or keyboard events files to be ready for transfer from disk Interrupt-driven I/O lets the program do work until the CPU gets a message from device 7 7 7
8
Today How do interrupt-capable devices get attention from the CPU?
How are interrupts handled? What if an interrupt handler is interrupted? 8 8 8
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.