CS 284a Lecture Tuesday, 11 November 1997

11/12/97


Click here to start


Table of Contents

CS 284a Lecture Tuesday, 11 November 1997

Independent Concurrency

Independent Concurrency is Not Enough

Independent Concurrency is Not Enough

Independent Concurrency is Not Enough

Additional Synchronization

Synchronization Flag Operations

Example of Flags

Rules for Using Flags to “Guard” Shared Variables

Examples of Shared Variables That Need Flags

Shared Variables Made Safe Using Flags

Example: Simple Producer-Consumer

Example: Synchronized Stream

Operations on a Synchronized Stream

When To Reset a Flag

Author: John Thornley

Email: cs284@cs.caltech.edu

Home Page: http://www.cs.caltech.edu/~cs284/