Threads
Intro
Different kinds of OS
What does it mean?
Why Do It?
Problem Statement
The Number Server
A Single Request
Why multithread the server?
The simplification argument
The Operating System and Multithreadedness
Threads and Structure
Threads and Processor State
Processes, threads, and the program
Threads are “lighter weight” than processes
Example: Web Serving
Serving with Threads
Issues in Thread Systems
The Interface
The Scheduler
Three key data structures
Switching Contexts
Preemption
Mechanism
Policy
Summary
Email: bershad@cs.washington.edu
Home Page: http://www.cs.washington.edu/homes/bershad/