Car loads C passengers, runs when full, then unloads. Multi-car extension requires ordered loading/unloading using semaphore lists. Last passenger signals completion with allAboard and allAshore rendezvous ensuring synchronization phases.
Four-person boat with composition constraints preventing unsafe combinations (1 hacker with 3 serfs or vice versa). Captain selection, scoreboard pattern, and barrier synchronization ensure all board before rowing with proper crew composition.
Santa coordinates with 9 reindeer and multiple elves. Wakes for either all reindeer or 3 elves, prioritizing reindeer. Uses counters, mutual exclusion, and elfTex turnstile preventing new elves during service with batch processing.