Back to the first slide

Demonstration Programs for Concurrency Course

This is the set of demonstration programs used in the concurrency course.

Thread Demonstration

Ornamental Garden

Ornamental Garden - corrected

Semaphore Demonstration

Bounded Semaphore Demonstration

Mutual Exclusion Lock

Bounded Buffer Demonstration

Read/Write Lock

Read/Write Lock - Writer priority

Read/Write Lock - Final Version

Channel Demonstration

OrnamentalGarden - message passing

OrnamentalGarden - message passing (choice)

CarPark - Guarded Communication

Dining Philosophers

Dining Philosophers - deadlock free