You are to write a C or C++ program to solve the Sleepy Barber problem. There must be a thread for the barberand multiple threads for customers. This program should be based on the monitor idea and must use conditionvariables (or something similar if done in Windows).
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).
should be delvierd with all details files , code, readme file, and build file.
should run on unix machine or windows platform