[Course Home]   [Syllabus]   [Announcements]   [Calendar]   [Handouts]   [Solutions]  

Weekly Calendar

[Week 1]   [Week 2]   [Week 3]   [Week 4]   [Week 5]  
[Week 6]   [Week 7]   [Week 8]   [Week 9]  [Week 10]
[Week 11]  [Week 12]  [Week 13]  [Week 14]  [Week 15]

Assignment code

The section number in the texturebook shown in bold.
Note: For the review exercises starting with "man", you need to login on UNIX machines such as shell, diablo, linprog, and program to type in the commands such as "man fork" and read the manual pages.
I will make the lecture notes available as soon as possible. However, the final version will be available the night before the class.

Week 1

DateReadingTopicsLecture Notes HandoutAssignments
8/26Chap. 1 Class Organization
Introduction
Week 1 Tuesday Syllabus
simple-fork.cc
simple-cmd.cc
simple-shell.cc
Lab 1
( Test plan mainly
used for testing
)
R: man fork
    man -s 2 exec
    man -s 2 exit
    man -s 2 wait
8/28Chap. 1
Chap. 2
OS Strategies
Using the OS
Week 1 Thursday    

Note: On linprog, to see the man pages of exec, you need to use "man execve" and "man execl".


Week 2

DateReadingTopicsLecture Notes HandoutAssignments
9/2Chap. 2
(Skip Windows model of 2.4)
Using OS
(Continued)
Week 2 Tuesday
Cross referenced Linux Code
Why Threads a Bad Idea (Suggested)
simple-cd.cc
simple-env.cc
simple-cmd-background.cc
R: man chdir
    man -s 2 getcwd
    man -s 2 getenv
    man -s 2 setenv
9/4Chap. 3 OS Organization Week 2 Thursday    

Week 3

DateReadingTopicsLecture Notes HandoutAssignments
9/9Chap. 4
(Skip 4.7
Self study 4.6 and 4.8)
Computer Organization Week 3 Tuesday simple-cmd-redirect.cc
simple-pipe.cc
simple-pipe-cmd2.cc
simple-cmd-background.cc
R: man pipe
    man -s 2 dup
    man -s 2 dup2
H: Homework 1
( as word doc)
(Due 9/23/03)
9/11Chap. 5 Device Management Week 3 Thursday
sig_handle.cc
  R: man -s 3C signal
    man -s 3HEAD signal
    man -s 2 kill
    man -s 2 alarm
    man -s 2 pause

Week 4

DateReadingTopicsLecture Notes HandoutAssignments
9/16Chap. 5 Device Management
(Continued)
Week 4 Tuesday    
9/18Chap. 6 Process Management Week 4 Thursday   Q: Quiz #1 (At end of class)
(Solutions
(as word doc))

Week 5

DateReadingTopicsLecture Notes HandoutAssignments
9/23Chap. 6 and 7
(Skip 6.7 and 6.8)
Process Management
(Continued)
Scheduling
Week 5 Tuesday
Suggested:
POSIX Threads Programming
Pthreads Tutorial
Documentation on The LinuxThreads Library
Examples using pthread library
simple-pthread.cc
simple-thread.cc
Lab 2

Lab2 Code (without synchronization)
(It only compiles and works on program)
R: man pthread_create
    man pthread_join
    man pthread_self
    man -s 3C getopt
    man pthread_attr_init
    man pthread_attr_destroy
9/25Chap. 7 Scheduling
(Continued)
Week 5 Thursday   H: Homework 2
( as word doc)
(Due 10/7/03)

Week 6

DateReadingTopicsLecture Notes HandoutAssignments
9/29Chap. 7 and 8 Scheduling
(Continued)
Basic synchronization principles
Week 6 Tuesday
Week 6 Tuesday 2nd Part
simple-mutex.cc
simple-semaphore.cc
R: man mutex_init
    man mutex_lock
    man mutex_trylock
    man mutex_unlock
    man mutex_destroy
    man sema_init
    man sema_wait
    man sema_trywait
    man sema_post
    man sema_destroy
10/1Guest Lecture Given by Dr. Andy Wang      

Week 7

DateReadingTopicsLecture Notes HandoutAssignments
10/6Chap 8 Basic synchronization principles
(Continued)
Week 7 Tuesday bounded-buffer.c
consumer.c
producer.c
R: man shmget
    man shmat
    man semget
    man semop
    man ipcs
    man ipcrm
H: Homework 3
( as word doc)
(Due 10/21/03
(No late submission will be accepted))
10/9Chap 8 and 9 Process synchronization
(Continued)
Week 7 Thursday     Q: Quiz #2
(At the end of class) 

Week 8

DateReadingTopicsLecture Notes HandoutAssignments
10/13Chap 9 High-level synchronization principles
Interprocess communication
Week 8 Tuesday   R: man condition
    man cond_wait
    man cond_signal
    man msgget
    man msgsnd
    man msgrcv
10/14Chap 10 Deadlock Week 8 Wednesday    
10/15  No class      

Week 9

DateReadingTopicsLecture Notes HandoutAssignments
10/21Chap. 1-9Review Midterm review A previous year midterm  
10/23Chap. 1-9Midterm Week 9 Thursday   M: midterm today

Week 10

DateReadingTopicsLecture Notes HandoutAssignments
10/28Chap. 10 Deadlock
(Contiuned)
Week 10 Tuesday   Lab 3
(Due Dec. 3, 2003)

Partial Lab3 Code

H: Homework 4
( as word doc)
Solutions to Homework #4
(as word doc).
10/30Chap. 10
(Consumable resources
(pp. 403-407)
will NOT be on a quiz
or the final exam)
Chap. 13
Deadlock
(Contiuned)
Week 10 Thursday
(Same as Tuesday)
Week 10 Thursday (File Systems)
   

Week 11

DateReadingTopicsLecture Notes HandoutAssignments
11/4Chap. 13 File Management Week 11 Tuesday    
11/6Chap. 13 File Management(Contiuned) Week 11 Thursday
(Same as Tuesday)
   

Week 12

DateReadingTopicsLecture Notes HandoutAssignments
11/11  Veterans' day No class    
11/12   No recitation class   
11/13Chap. 11 Memory Management Week 12 Thursday
  H: Homework 5
( as word doc)
(Due 11/25/03)
Solutions to Homework #5
(as word doc)

Week 13

DateReadingTopicsLecture Notes HandoutAssignments
11/18Chap. 11 and 12 Memory Management
(Continued)
Virtual Memory
Week 12 Thursday
(Same as last Thursday)
Week 13 Tuesday
   
11/19   No recitation class   
11/20Chap. 12 Virtual Memory Week 13 Thursday
(Same as Tuesday)
   

Week 14

DateReadingTopicsLecture Notes HandoutAssignments
11/25Chap. 12 Class evaluation
Virtual Memory
(Continued)
Week 14 Tuesday
(Same as last Thursday)
  Q: Quiz #3
11/26  Recitation
(Not required)
Questions and anwswers
regarding Lab3 and others
   
11/27  No Class Happy Thanksgiving    

Week 15

DateReadingTopicsLecture Notes HandoutAssignments
12/2Chap. 14 Protection and Security Week 15 Tuesday    
12/3  Recitation
Demonstration of your lab3    
12/4  Protection and Security
(continued)
Final review
Week 15 Tuesday
(Same as Last Tuesday)
Final review
   

Week 16

DateReadingTopicsLecture Notes HandoutAssignments
12/11  Final Exam Exam Note  5:30-7:30PM

[Course Home]   [Syllabus]   [Announcements]   [Calendar]   [Handouts]   [Solutions]  

Last modified on August 23, 2003