Threads

1/17/99


Click here to start


Table of Contents

Threads

Intro

Different kinds of OS

What does it mean?

Why Do It?

Problem Statement

Threads

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

Author: Brian Bershad

Email: bershad@cs.washington.edu

Home Page: http://www.cs.washington.edu/homes/bershad/