This is Java Implementation of the Semaphore based solution for Senate Bus Problem https://github.com/Rajind/SenateBusProblem The Senate Bus Problem (From The Little Book of Semaphores by Allen B. Downey) This problem was originally based on the Senate bus at Wellesley College. Riders come to a bus stop and wait for a bus. When the bus arrives, all … Continue reading Solution to Senate Bus Problem
↧