Introduction - If you have any usage issues, please Google them yourself
A barber shop, there is only one barber, only the n Zhang barber' s chair waiting for customers, without customers, the barber to sleep if there is a customer into the barber shop barber was found sleeping, others view him wake up, write a program Coordination between barber and customer relations.