This preview shows page 1. Sign up to view the full content.
Unformatted text preview: 5. Write down the solution of the Readers-Writers problem using 3 semaphores (mutex, OkToRead, OkToWrite) 6. Synchronisation has two parts mutual exclusion and scheduling. Discuss how they are provided in monitors. 7. Draw the state transition diagram of a process and indicate which transitoin can be incurred by wait and signal operations o 8. In the semaphore solution of readers-writers can OKToWrite ever get greater than 1?What about OKToRead?Explain how i 9. In the monitor solution of dining-philosopher problem from the text book, is FIFO order guaranteed for Philosophers (i.e., th e 10. Regarding the monitor solution of dining-philosopher problem from the textbook, if the philosopher (P1) is inside the putdo w...
View Full Document
This note was uploaded on 04/05/2010 for the course CS 472 taught by Professor Lie during the Spring '10 term at udg.edu.
- Spring '10