Module: Condition Variables

Learning Outcomes

Thread Synchronization

Readings

Condition Variables

Introduction to condition variables and how they are used for threads to synchronize

Condition Variables in Java

How Java provides the condition variables abstraction

Sample Java source

Experiential Learning

Homework Assignment #5

A pencil-and-paper assignment in which you have to reason about a thread-safe stack implemented with locks and condition variables

Homework Assignment #6

An assignment in which you empower our JavaFX app with threads for better performance

Assessments

Homework #5 Assessment

Outcome(s) assessed: Thread Synchronization

Homework #6 Assessment

Outcome(s) assessed: Thread Synchronization