Presentation is loading. Please wait.

Presentation is loading. Please wait.

Announcements Homework #2 scores in Blackboard

Similar presentations


Presentation on theme: "Announcements Homework #2 scores in Blackboard"— Presentation transcript:

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

3

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

9


Download ppt "Announcements Homework #2 scores in Blackboard"

Similar presentations


Ads by Google