CS 470 - Operating Systems
MWF 3, KC-131
Announcements
These are announcements made in class or via email currently in effect
for this course.
Saturday, February 2, Re: Exam 1 and Homework 3
I was looking at the schedule in the syllabus and realized that Exam 1
is scheduled for this Friday, February 9, to cover Chapters 1-5. Since
most of the problems for Homework 3 are on Chapter 6, the due date for
Homework 3 is extended to a week later, Wednesday, February 14.
Wednesday will be the exam review day and Friday will be the exam as
scheduled. Please note that although the process management project
is not due until February 16 (corrected from original email), the
topic of process management will be on Exam 1.
Thursday, February 1, Re: Signal handling and read function
Dan stopped by to ask a question about adding signal handling causing read
errors in shell.c. It turns out that an interrupted read() will return a
negative number for the number of bytes read, so setup() interprets this as
an error in reading. The fix is to do the read() call again in this case.
Tuesday, January 23, Re: Typo in comments of shell.c for Project 1
'Ili has pointed out to me that the comments in shell.c given in the
textbook for Project 1 has a typographical error. In the main program step
(3) says "if background == 1, the parent will wait" However, in the setup
function, background is set to 1 when an & is present for putting command in
the background, which means the parent should not wait. I've changed the
comment in the on-line version of shell.c to say "if background == 0, the
parent will wait".
Links
Links that may be of interest for this course.
Handouts
This is a list of documents and assignments posted for this class in
reverse chronological order. Most are available only on the Web.
Some were also handed out in class. A few are hard copies only.
- Monday, March 26
- Exam 2 Review Sheet (HTML) (PDF)
- Memory Management Project (HTML) (PDF)
- Wednesday, March 21
- Homework 6 (20 points):
- Problem 9.5 on page 366
- Problem 9.10 on pages 367-368. (note: f-h is on the second page)
- Problem 9.14 on page 368
- Problem 9.15 on page 368
Due: *Monday*, March 26, at beginning of class for Exam 2 Review, no late work accepted
- Monday, March 19
- Monday, March 12
- Homework 5 (20 points):
- Problem 8.3 on page 310
- Problem 8.5 on page 311
- Problem 8.9 on page 311
- Problem 8.12 on page 312
Due: March 21
- Monday, February 26
- Wednesday, February 21
- Homework 4 (20 points):
- Problem 7.1 on page 268
- Problem 7.5 on page 269
- Problem 7.6 on page 269
- Problem 7.11 on page 270
Due: February 28
- Thread Synchronization Project (HTML) (PDF)
- Monday, February 5
- Friday, February 2
- Code used in lecture. Also available on csserver in directory /home/hwang/cs470/lecture10
- Process Management Project (HTML) (PDF)
- Wednesday, January 31
- Homework 3 (20 points):
- Problem 5.7 on page 188
- Problem 6.1 on page 231
- Problem 6.11 on page 233 using
semaphores - by "write a program", we
mean write the pseudocode for a program in the style of the
textbook (also for the monitor problem below)
- Problem 6.22 on page 234
Due: February 14 (changed to be due after Exam 1)
- Wednesday, January 24
- Code used in lecture. Also available on csserver in directory /home/hwang/cs470/lecture06
- Homework 2 (20 points):
- Problem 4.7 on page 147, explain why the output is what it is
- Problem 5.2 on page 186
- Problem 5.4 on page 187
- Problem 5.9 on page 188
Due: January 31
- Monday, January 22
- Code used in lecture. Also available on csserver in directory /home/hwang/cs470/lecture05
- Friday, January 19
- Code used in lecture. Also available on csserver in directory /home/hwang/cs470/lecture04
- Shell Project (HTML) (PDF)
- Wednesday, January 17
- Homework 1 (20 points):
- Problem 1.17 on pages 37-38 (note: f-i are on the second page)
- Problem 3.1 on page 116
- Problem 3.2 on page 116
- Problem 3.4 on page 117
Due: January 24
- Wednesday, January 10
- Syllabus and Schedule, Part 1(HTML) (PDF)