Process Synchronization – Faneuil Hall Problem

Process Synchronization – Faneuil Hall Problem

Simulates citizenship ceremony with immigrants, judge, and spectators. Covers check-in process, oath confirmation, and certificate distribution with turnstile control. Extended version ensures all immigrants leave before next ceremony begins.

Process Synchronization – Senate Bus Problem

Process Synchronization – Senate Bus Problem

Explores bus boarding synchronization with 50-passenger capacity constraint. Two solutions presented: pass-the-baton pattern and I-will-do-it-for-you pattern. Bus departs only when full, with mutex protection and multiplex control.

Process Synchronization – Room Party Problem

Process Synchronization – Room Party Problem

Analyzes Dean-student synchronization where Dean searches empty rooms or breaks up parties with 50+ students. Uses turnstiles, rendezvous patterns, and pass-the-baton technique with state tracking for complex constraint enforcement.

Process Synchronization – Sushi Bar Problem

Process Synchronization – Sushi Bar Problem

Covers sushi bar synchronization where customers wait when capacity reaches 5 seats. Demonstrates pass-the-baton and I-will-do-it-for-you patterns. Includes child care problem with adult-child ratio constraints and deadlock prevention.