Description: , (1) a barber shop reception room with n chairs, studios have a chair (2) no customers, the barber sleep (3) the first customer arrives, the barber must wake up (4 ) to the customer if there are empty seats, then when he sat on a seat to wait (5) If the customer to an empty seat when not, and he left, not a haircut (6) When the barber finished with all customers, but no new customers to come, he began to sleep. With the condition variable implementation (three chairs)
To Search:
File list (Check if you may need any files):
barars.txt