|
Computer Science 432 Operating Systems Williams College Fall 2006
|
|
Lecture 03: Processes, Threads
Date: September 14, 2006
- Announcements
- CS Colloquium this week - CS students discuss their summer
work. TCL 206 Friday 2:30.
- I may have to cut office hours short on Friday, but I'll be
there earlier.
- Lab 1 continues. You should know how to do it all today.
- More on Processes
- Threads
- Thread concept
- POSIX threads
Due at the start of class, Tuesday, September 19.
Turn in short answers to these questions. Please turn in a hard
copy (typeset or handwritten are OK). We will discuss these questions
during class on Tuesday, so no late submissions are accepted.
SG&G 4.3, 4.5.
The readings for next time are in SG&G Sections 5.1-5.3.
- forking
- forkbomb
- FreeBSD fork code: /usr/src/sys/kern/kern_fork.c
- FreeBSD run/ready queues: /usr/src/sys/kern/kern_switch.c
- FreeBSD context switch: /usr/src/sys/i386/i386/swtch.s