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.
What is the ms excel 2007?
what are the authentication modes in sql server? How can it be changed? : Sql dba
differences between pass by reference and pass by value in c language?
In Indian Household, generally we receive 220V AC single phase supply. But AC has 2 phases, +ve & -ve. So in +ve half cycle current is flowing...so what happens in the -ve half cycle?? Please illustrate.
How do I perform a database backup?
How does hdfs provides good throughput?
How to find the index of the largest number in an arraylist java?
What would happen to photosynthesis if the green light waves that reach a vegetable were blocked?
How do I trim a space in c#?
What are your 3 strengths and 1 weakness?
What is inorganic matter?
How do you repeat a command in terminal?
What is sharepoint master page?
How can I format a worksheet to have alternating green and white rows like a "greenbar" report?