In a barber shop there are 2 doors. customer come in 1 door, leave in other. minimum # of chairs. barber spend his life in cutting. always barber can cut 1 customer. few chairs in the shop. if barber busy customer waits, if chairs full, customer leave. if no customer, barber sleeps. treat barber and customer as 2 threads. you can use Semaphore class with arrive and depart and count as parameter.1285
What is head in HTML document?
what opinion do your friends have about you?
What is the tool used for provisioning and configuration?
What is rowlevel security ? can u please explain with real time example?
Which language technology is used in app messaging?
What is the purpose of the enableevents() method in java programming?
Mention what are the three components that make modular architecture of openstack?
Why induction motor is widely used in industry
What is hibernate framework used for?
What is the use of spark sql?
What are the most recent releases of the sap r/3 solution?
How client side validation is enabled on a jsp form?
Explain the operation reduce() in Spark?
What are the limitations of mysql?