Description: Barbershop, a hairdresser, a barber chair and N customer sat waiting Barber chair if no customers, the barber would sleep in the barber chair. When a customer comes, he must wake up to the barber. If the customer comes barber is Barber, if the empty chair, sit down and so on otherwise leave. The semaphore control of the operating system process synchronization.
To Search:
File list (Check if you may need any files):
BarberSleep\BarberSleep.jar
...........\BarberSleep.java
...........\BarberSleeping.jar
...........\BarberSleeping.java
BarberSleep