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