Process Synchronization – Unisex Bathroom Problem

Process Synchronization – Unisex Bathroom Problem

Demonstrates synchronization constraints for bathroom access with gender-based exclusion and capacity limits. Includes lightswitch pattern, no-starve solution using turnstiles, and categorical exclusion with majority rule in Modus Hall problem.