CS 284a LectureTuesday, 11 November 1997
Independent Concurrency
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
Email: cs284@cs.caltech.edu
Home Page: http://www.cs.caltech.edu/~cs284/